Allow bots to send ephemeral messages when deleting a users message #3579
Unanswered
CottageDwellingCat
asked this question in
API Feature Requests & Ideas
Replies: 2 comments 8 replies
-
Adding on to this, I think it would be cool for bots to be able to send ephemeral messages in any scenario. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is a nice idea but it could be exploited, that's what is the problem. This is why (and probably for a few other reasons), ephemeral messages are locked to Interactions only. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When a lot of bots delete messages they need to inform users why their messages was deleted (so they know their message contained a blocked word, or why it broke the rules). I think it be useful add an object in the delete message endpoint called


show_user_auditlog_reason
, when the property is true an ephemeral message will be sent in the channel the message was deleted from containing theX-Audit-Log-Reason
for the deletion, and the text of the deleted message. This would also force the deletion to show up in the audit log (so server admins could validate reports of bot spam).Example UI:
Beta Was this translation helpful? Give feedback.
All reactions