-
-
Notifications
You must be signed in to change notification settings - Fork 751
Purge messages up to given message #1024
Copy link
Copy link
Closed
Labels
a: utilityRelated to utility commands: (bot, eval, extensions, jams, reminders, snekbox, utils)Related to utility commands: (bot, eval, extensions, jams, reminders, snekbox, utils)p: 2 - normalNormal PriorityNormal Prioritys: planningDiscussing detailsDiscussing detailst: featureNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
a: utilityRelated to utility commands: (bot, eval, extensions, jams, reminders, snekbox, utils)Related to utility commands: (bot, eval, extensions, jams, reminders, snekbox, utils)p: 2 - normalNormal PriorityNormal Prioritys: planningDiscussing detailsDiscussing detailst: featureNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem:
Currently the purge/clean command takes the number of messages to clean as the only way of specifying how far to clean, this can cause some difficulties when trying to clean lots of messages as you either have to guess roughly how many messages were sent or count them manually, and also makes it easy to go too far and delete messages you didn't want to.
Proposed Solution:
We could allow a message ID or link to be given as an argument instead of the number of messages. The bot would then delete all messages up to that message. This would speed up the process of removing messages and reduce the possibility of human error.
I'm not sure what the best way to modify the command to accept the ID as an argument would be so that would need to be discussed.