Moderation · Message cleanup
/clear
Delete recent messages in this channel.
Prefix only
This one only works as ,clear. Discord is ending message commands on December 1st, 2026, so use /purge for the same job.
Usage
How to run it, and a couple of real examples you can copy.
syntax
,clear <amount>,clear 50
Options
These are the boxes Discord shows when you type /clear. With the prefix, type them in order after the command.
amountnumberrequired