Timeout a member

This action block can be used to timeout a member from a server that the bot has access to.

The bot must at least have the timeout members permission for this block to work and must be above the targeted user.

User ID

This field targets a user ID to be timed out. This can be done by a user id, user option, or variable. Keep in mind the variable has to return a plain user ID with no extra symbols or spaces.

Duration

This field modifies the duration of the timeout that the member will be placed upon. The duration follows a specific format that must be inputted correctly. The field describes said format below. Variables can be used in this field as long as it returns the value in the correct format.

Reason

This is an optional field. In this field you can input a reason why you are timing-out a member. This reason will be shown in your server's audit log. Variables can also be used in this field.

Enable Success/Error Handles

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.

Last updated