$deletecommand

Deletes the author’s command message.

Warning

The bot must have the manage_messages permission.

Syntax

$deletecommand

Note

Sometimes a message may be deleted, but you will still see it. This is a Discord bug.

Example

$nomention
$deletecommand
Hello world!
Hello world!