$defer
Shows the "Bot is thinking" message. This function is for commands that may take longer than 3 seconds to run. Discord throws a error if the bot doesn't respond to a interaction (e.g. slash commands) within 3 seconds of the interaction being emitted.
This should only be used for interactions.
Usage
This usage has one param.
Param | Description | Type | Required |
---|---|---|---|
ephemeral | Whether the interaction response should be ephemeral or not. | Boolean | No |
Last updated