Member kick gateway event and responsible moderator for ban events
Anyone who's attempted to write a moderation bot knows by now that there isn't a gateway event for member kicks. Personally, I find this makes it difficult to properly log these events and make sure that nothing goes untracked.
Additionally, I think it'd be handy to be able to see who banned (or unbanned) a user when using either the API's ban endpoints or in the payload received from member ban gateway events. Currently, we can only see the reason for the ban when calling the ban endpoints in the HTTP API which I find only makes my projects more complex.
-
(this isn't me saying there shouldn't be a separate event, just a current workaround)
You can distinguish between a leave and a kick by fetching audit log entries, and checking target1
Please sign in to leave a comment.
Comments
1 comment