Edit Role
Last updated
Last updated
The Edit a role block will edit a role in your server. Editing can modify different aspects of an already existing role. Some fields can be left blank for no changes to occur.
This selection will specify the method of targeting the role that will be edited.
The new name for the role the bot is editing. Leave this blank if you do not wish to change the name.
This field is an optional reason for editing the role. This reason will be shown in the audit log of the server that the command / event was executed in.
Hex format example: #af5555
This switch controls whether the role is hoisted or not.
This switch will allow anyone to mention / @ this role, even if they don't possess the mention @everyone / @here permission.
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 selection will target a which will contain the role for the bot to delete when the command is executed. Only in this field may work, IDs and can be used in .
You must have a added in your command for this to work.
This selection will target a specific role ID / to delete.
This field accepts a plain role ID or that returns a plain role ID. This role ID can't have any spaces or extra symbols, make sure it is a plain role ID.
This field is optional and changes the position of the edited role in your server. Leave this blank for default positioning. Positions are all arranged from bottom (default) to top. This field only accepts integers and can be used.
This field is optional and changes the color of the role the bot is editing. This field only accepts a HEX format. Server members use the color of the highest position role they have. can be used as well. Leaving this field blank will make it a default grey color.
Click the "+" to attach certain permissions to the role the bot is editing. Leave this field blank to have no permissions. Visit this to learn more about permissions.
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 .