Join a Voice Channel
Last updated
Was this helpful?
Last updated
Was this helpful?
The Join a Voice Channel action block will force the bot to join the specified channel, whether it is the voice channel you are currently in, a channel option, or a channel ID.
Enable Success / Error Handles to detect success and errors inside of the action block. This allows you to run different actions if something goes wrong with your action. Inside of the handle, there are 2 different paths which are used to detect the outcome of the action. The green path on the bottom left side of the block indicates success, while the red path on the bottom right side of the block indicates error. You may attach action blocks to each side of the handle to get the outcome of your action block.
This will force the bot to join the voice channel of the user who clicked a / or is running the command / event. This will only work if the user is in a voice channel before running the command / event.
Selecting the channel option will prompt you with a new field to input your channel option variable. Only will work in this field, use channel IDs / Variables in Voice Channel ID.
The channel ID can be a as well. Remember this has to be a plain ID with no extra symbols or spaces, it is case sensitive like every other ID field. If you use a variable, make sure it returns a plain ID.
The Success/Error Handles feature includes 3 different error variables you can use to get information on why the action block encountered an error. Check them out .