#voice system
4 messages · Page 1 of 1 (latest)
What is line 39?
You define voice_channel if your if statement is true. If it's false then voice_channel remains undefined which is where your error occurs
What I think you're trying to do is to create a channel if someone joins a specific channel and delete the channel if it gets empty.
Don't know if you can use this but it might give you an idea of how you can do that
This is how I do it: https://codeshare.io/vwZP17