Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message deletion on user ban #38

Open
TTX170 opened this issue Aug 13, 2017 · 1 comment
Open

Message deletion on user ban #38

TTX170 opened this issue Aug 13, 2017 · 1 comment

Comments

@TTX170
Copy link

TTX170 commented Aug 13, 2017

When a user is banned and their messages are deleted, if they have only sent one message it is shown as deleted fine however, if they have sent multiple messages then no deleted message is shown in the channel.

@khyperia
Copy link
Owner

This is probably due to me ignoring this event: MessageDeleteBulk.

I'll probably handle that event by printing deleted messages if the number of deleted messages is <10, otherwise give up and print "x messages deleted" (so the buffer isn't spammed with hundreds/thousands of deleted messages)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants