Add reason to GUILD_BAN_ADD event #3505
Unanswered
nicosammito
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
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.
-
Currently the reason for a ban isn't included in the GUILD_BAN_ADD event.
So to get the specific reason you need to make a request to the GET Ban route.
It would be way better to include this also in the GUILD_BAN_ADD event to get the reason directly instead of making another request to Discord REST API.
The new payload could be:
Beta Was this translation helpful? Give feedback.
All reactions