Leave a Voice Channel
Last updated
Last updated
The Leave a Voice Channel action block will force the bot to leave the channel it is connected in, optionally specifying the server ID.
Keep in mind the bot has to be in a voice channel for this block to work
This action block contains one setting: Optional Server ID.
Having a server ID in this field will force the bot to look for a specific server to leave from. Leaving this blank will force the bot to leave the voice channel in the server the command / event was triggered in or button / menu option.
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.
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 here.