$clear

Deletes a certain amount of messages.

When using just $clear, the author’s message must include a number.

Syntax

$clear

Discord doesn’t allow deleting messages in bulk which are over 2 weeks old.

Permissions

Required permissions that the bot must have for this function to work properly:

  • managemessages

Example

$nomention
$deletecommand
$clear

Before

5 4 3 2 1 !example 3

After

5 4 3