Skip to content
Discussion options

You must be logged in to vote

I don't think deleting an ephemeral response is supported in general, however you can edit them to remove the view and edit the content which might work for you.

You can either simply call interaction.edit_original_response at the point in the code where your TODO is and pass view=None, or you can replace the interaction.response.defer calls with interaction.response.edit_message instead. The latter might be advantageous since it counts as a response to the interaction (the user won't see the "Application did not respond" message), but you don't need to defer and only edit the ephemeral message later.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by codeofdusk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants