How to ACK a command without responding? #6907
-
If you don't respond to an slash command interaction, Discord will show the user that the command failed. In the Discord docs, they state that there is a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is no "acknowledge without action" (anymore). If the user interacts with a bot (by pressing a button, using a dropdown, etc.) they generally expect something to happen, be that an update of the message the button is on, or an (ephemeral) reply. The
Discord.js only supports receiving interactions through gateway events (which is mutually exclusive with the above-mentioned webhook callbacks). |
Beta Was this translation helpful? Give feedback.
There is no "acknowledge without action" (anymore). If the user interacts with a bot (by pressing a button, using a dropdown, etc.) they generally expect something to happen, be that an update of the message the button is on, or an (ephemeral) reply.
The
PONG
interaction callback is forPING
payloads that discord sends to interaction-only webhook applications. This is detailed in the documentation for this type of receiving interactions.: https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction