Purge Messages
Last updated
Last updated
The purge messages action block will allow you purge a specific amount of messages in a specfic channel.
If messages are older than 14 days, they can't be deleted, unless you're deleting only 1 message.
This type will purge messages in the channel that the command / event was executed in or where a button / menu option was clicked.
This field is the amount of messages that will be purged. It only accepts integers / variables that return a integer.
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.