weechat-discord icon indicating copy to clipboard operation
weechat-discord copied to clipboard

Message deletion on user ban

Open TTX170 opened this issue 7 years ago • 1 comments

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.

TTX170 avatar Aug 13 '17 21:08 TTX170

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)

khyperia avatar Aug 14 '17 17:08 khyperia