How to put loading emoji/gif into a message #9162
-
CleanShot.2023-02-23.at.11.51.57.mp4Hey guys, Just wondering is there any default function that can invoke the loading emoji/gif when bot reply a message like the video above. If no, how can I achieve this outcome? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
almostSouji
Feb 23, 2023
Replies: 1 comment 1 reply
-
This is a deferred response and we explain the procedure in the guide here: https://discordjs.guide/slash-commands/response-methods.html#deferred-responses. This serves as an initial response, which you need to send within 3 seconds. You can then respond to it within 15 minutes (then the interaction token expires) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Jiralite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a deferred response and we explain the procedure in the guide here: https://discordjs.guide/slash-commands/response-methods.html#deferred-responses. This serves as an initial response, which you need to send within 3 seconds. You can then respond to it within 15 minutes (then the interaction token expires)