Mass Delete - United-Programming/UPBot GitHub Wiki
Aliases: Clear, Purge
MassDel (Mass Delete) is used to remove a significant quantity of messages with a single command.
MassDel num 🡆 This will delete the last num messages from the channel where it is executed.
MassDel user num 🡆 This will delete the last num messages from the user specified (as name or mention) from the channel where it is executed.
MassDel can be disabled or authorized to everybody or just admins.
It is recommended to keep this command available only to admins.