Random Reply
Last updated
Last updated
While the Random Reply action block is still available for use in all commands and events, it is considered old and has been replaced by the action block. We advise you to use the and the blocks instead, which offer more functionalities and possibilities for your message.
When triggered, the Random Reply action responds with a random message from among a set of messages. This message can either reply to a command, be sent to the channel the command was used in, sent to a channel associated with an event, or edit a message sent by another action. All variables and options can be used in the content of the reply.
This section will allow you to manage up to 100 messages to be randomly selected from when triggered. You can manage the content and reactions of the messages (more information below), or click the Add Response button to add another message to the set.
In the Random Reply action, you have the choice for each message to be plain text, or an embed.
Reactions can also be added to the reply. These can be added by clicking the reactions dropdown and selecting emojis.
These reactions will be automatically added to the reply.
The Random Reply action has three response types that change how the message of the action is sent. Below you can find detailed information about each response type and how it can be used.
You can copy the variable by clicking the clipboard icon in the section right below the optional variable field.
If the original message contained one or more buttons / select menus, you can choose to keep components or remove them when editing the message. See the and for more information about interaction actions.
You can also create your own variable that can be used anywhere in the command to get the ID of the message sent by the action. This is useful when using in your command / event and you need the ID of the message. Make sure that the name of the variable does not correspond to the name of a default variable or of an another action.