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 Send or Edit a Message action block. We advise you to use the Send or Edit a Message and the Chance Condition 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.
Responses
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.
Content
In the Random Reply action, you have the choice for each message to be plain text, or an embed.
Content
The content of the action is the actual message that the bot should reply with when the action is triggered. You can use any variable or option in the content of this reply. These can be easily added through the variable selector by clicking the Clipboard button.
Author
The author is displayed in the top left of the embed. This can be the author who used the command or any information you wish to display.
Thumbnail URL
You can include a thumbnail embedded into the Embed Reply. This will display in the top right of the Embed.
Title
This is the title you wish to display in your Embed Reply. This will be centered above your Content Block.
Description
The description is the actual message that the bot should reply with when the action is triggered. You can use any variable or option in the content of this reply. These can be easily added through the variable selector by clicking the Clipboard button.
Image URL
This will display an image in full view under the Content Block.
Footer
This is the small text at the bottom left of the embed.
Embed URL
This will display the Title of the embed in blue text, you can click this to open an external page or image.
Color
This is the color shown on the Left Side of the Embed Reply.
Reactions
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.
Response Type
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.
In commands, by selecting this response type your Embed Reply message will be sent as a reply to the command. This will show who used the command and what command triggered the response. This reply can be hidden by selecting Hide Replies in the command settings, which can be accessed by clicking on the root node of the command (the block with the yellow border).
This response type will send the message to either the channel the command was used in or the channel associated with an event in the event builder. By using this response type, the reply will look like a normal message sent by the bot.
By selecting this response type you are able to edit the message sent by another action in the command or event tree.
To do so you must have another response action that your block can edit the reply of. Select another response action to be edited through the dropdown. A red outline will appear around the block that will be edited.
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 Send an API Request 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.
You can copy the variable by clicking the clipboard icon in the section right below the optional variable field.