Delete a channel
Last updated
Last updated
This action block will delete any channel input, in any server the bot is in.
Warning: Your bot must have Manage Channel Permission to be able to Delete a channel.
This dropdown is where you can choose which method to target the channel that you need deleted.
This type when selected will make a new dropdown appear for where you can choose which specific channel from a server to delete.
This is the dropdown as seen below. "Command Options" is where you can choose options from the command to be deleted. In this case it would delete a channel selected from the channel option.
Note: If you don't see the channel you wish for, click the refresh icon next to the title.
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.