Slash commands
Actions in the category "Slash commands".
Reply to interaction
Sends a direct reply to the interaction that started this flow.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Interaction | Interaction | Yes | The interaction to reply to. |
| Content | Message content | Yes | The message content to send as a reply. |
| Ephemeral | Yes/No | No | Whether the reply should be visible only to the user. Default: No. |
Outputs
| Name | Type | Details |
|---|---|---|
| Message | Message | The resulting reply message. |
Defer interaction reply
Acknowledges an interaction so you have up to 15 minutes to send a real reply.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Interaction | Interaction | Yes | The interaction to defer. |
| Ephemeral | Yes/No | No | Whether the eventual reply should be visible only to the user. Default: No. |
Edit interaction reply
Edits the original reply that was sent for an interaction.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Interaction | Interaction | Yes | The interaction whose reply to edit. |
| New content | Message content | Yes | The new message content. |
Outputs
| Name | Type | Details |
|---|---|---|
| Message | Message | The edited message. |
Delete interaction reply
Deletes the original reply that was sent for an interaction.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Interaction | Interaction | Yes | The interaction whose reply to delete. |
Follow up to interaction
Sends an additional message in response to an interaction.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Interaction | Interaction | Yes | The interaction to follow up on. |
| Content | Message content | Yes | The message content to send as a follow-up. |
| Ephemeral | Yes/No | No | Whether the follow-up should be visible only to the user. Default: No. |
Outputs
| Name | Type | Details |
|---|---|---|
| Message | Message | The resulting follow-up message. |
Send autocomplete response
Sends suggestion choices in response to an autocomplete interaction.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Interaction | Interaction | Yes | The autocomplete interaction. |
| Choices | List of Command option choice | Yes | Up to 25 suggestion choices to display. Maximum items: 25. |
Fetch interaction reply
Fetches the original reply message that was sent for an interaction.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Interaction | Interaction | Yes | The interaction whose reply to fetch. |
Outputs
| Name | Type | Details |
|---|---|---|
| Message | Message | The original reply message. |
Fetch application command permissions
Fetches application-command permission overwrites for a server, optionally filtered to one command.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Command | Application command | No | Optional command to fetch permissions for. If omitted, returns permissions for all commands. |
Outputs
| Name | Type | Details |
|---|---|---|
| Permissions | List of Server application command permissions | Permission overwrites grouped per command. |
Fetch application command by ID
Fetches a slash command or context menu by its ID. Pass a server to fetch a server-scoped command, leave empty for global.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Command ID | Discord ID | Yes | ID of the application command. |
Outputs
| Name | Type | Details |
|---|---|---|
| Command | Application command | The fetched command, or empty. May be empty. |