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.
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.
-
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.
This isn't possible. You have to decide whether or not to display the message in the initial response (the defer call).