Skip to content

Purge messages up to given message #1024

@wookie184

Description

@wookie184

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.

Metadata

Metadata

Assignees

Labels

a: utilityRelated to utility commands: (bot, eval, extensions, jams, reminders, snekbox, utils)p: 2 - normalNormal Prioritys: planningDiscussing detailst: featureNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions