Todo: Mass message clearing (/clear)
Closed this issue · 0 comments
Erisa commented
Ideally this would
- Allow for flexibly specifying message count, filtering to a user, optionally filtering to only bots, etc. Anything you can think of!
- Just to be safe, warn the moderator for anything that deletes a large (>50) amount of messages. Since this is an interaction we can possibly use buttons for this?
- Though I would worry about state and complexity.. if that's not possible refuse like below for a medium limit like >200 or similar.
- Outright refuse to do anything disastrous (>1000 messages) because why would you ever need that.
Some small shitcode inspiration is this old piece which pruned a specific bots messages in Discord Bots: Erisa/Lykos@e62cf3f
But that's kind of a lame example.