RPCS3 / discord-bot

Source code for RPCS3's Discord bot.
https://rpcs3.net/
GNU Lesser General Public License v2.1
57 stars 46 forks source link

Log deleted messages to a hidden channel #585

Closed dio-gh closed 4 years ago

dio-gh commented 4 years ago

Received reports about some quite offending messages being posted to #off-topic by a certain user, then quickly deleted. At the PCSX2 discord, the bot logs all deleted messages to a separate hidden staff channel for review. Perhaps it's a good idea?

Possible gotchas:

13xforever commented 4 years ago

idk if it's a good idea to log in a channel, as you can ddos discord api quite easily, I'd opt out for bot logs

and it would require approval from the staff

implementing it is trivial tho, except you can't reupload the attachments, as they're nuked server-side before the event is generated for the bot

dio-gh commented 4 years ago

I'm confused, did this get implemented after all? The title of the linked PR reads like it resolves the issue mentioned in your last paragraph.

idk if it's a good idea to log in a channel, as you can ddos discord api quite easily

Does this stand for message editing events too? Perhaps if they were batched up, it'd be harder to abuse and exhaust the call limits.

and it would require approval from the staff

Well yeah, it does.

13xforever commented 4 years ago

shh, everything is fine

dio-gh commented 4 years ago

Ok, thanks.