The idea behind this feature would be to have a command that allow certain roles to delete multiple messages at once. We can think of something like having multiple options and be able to combine them.
Options would be:
Delete messages from a specific User.
Delete messages until a certain date.
Delete a specific amount of messages.
Delete messages which contains specific word(s) or regex.
Usage:
# Delete last 10 messages of the channel
!delete last 10
# Delete last 10 messages of the channel from @Danny
!delete last 10 from @Danny
# Delete all messages of the channel from @Danny
!delete all from @Danny
# Delete all messages of the channel which have been sent after 11-14-2018 10:30
!delete all until 11-14-2018 10:30
# Delete all messages of the channel which contains the words "tuto" and "imprimante"
!delete all contains "tuto imprimante"
# Delete last 10 messages of the channel from @Danny which have been sent after 11-14-2018 10:30 and contains the words "tuto" and "imprimante"
!delete last 10 from @Danny until 11-14-2018 10:30 contains "tuto imprimante"
The idea behind this feature would be to have a command that allow certain roles to delete multiple messages at once. We can think of something like having multiple options and be able to combine them.
Options would be:
Usage: