prevent deferReply from forcing ephemeral or forcing no ephemeral on editReply #906
-
In general I want to deferReply to ask the database what I should do, after that I will editReply with ephemeral response if needed, or non-ephemeral if I find it unnecessary. |
Beta Was this translation helpful? Give feedback.
Answered by
almostSouji
Oct 8, 2021
Replies: 2 comments
-
This isn't possible. You have to decide whether or not to display the message in the initial response (the defer call). |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
almostSouji
-
I guess the best you can do is use ephemeral in all deferReply() and get the channel and use channel.send() to send a new message and delete the interaction if you want to make it non-ephemeral. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This isn't possible. You have to decide whether or not to display the message in the initial response (the defer call).