🗣️ (operation) interaction with content (content) with component (interaction) ephemeral (ephemeral) suppress embeds (suppress_embeds)
Reply to an interaction (i.e. a slash command). You may use ONE of these per interaction and MUST respond to or defer every reaction you receive.
Only valid in: 🔔 when (event) do (statement), discord command create, discord interaction button, discord interaction dropdown
Only valid in events: interactible
Requires the following blocks to be present in the project: discord login
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
operation | any | ✓ | The type of response to send to this interaction. |
content | Array OR String OR Number OR Boolean OR sticker OR attachment OR user OR channel OR embed | The content of this message. It can be any of the types specified in the documentation, or a list of multiple items of the types specified in the documentation. Discord types will be automatically turned into mentionables, if possible. | |
interaction | interaction OR Array | An interactible or a list of interactibles to attach to this message. | |
ephemeral | any | ✓ | Whether this response is ephemeral. This means the response to the interaction can only be seen by the user who initiated it and disappears after some time. |
suppress_embeds | any | ✓ | If true, Discord will suppress link embeds for this message. |
Output
void - This is a statement with no outputs