Moderation

/purge

Delete recent messages.

Development command reference

Options

amountRequiredInteger

Messages to inspect (1–100)

Minimum: 1. Maximum: 100.

userOptionalMember

Only delete messages by this user

Try it in Discord

Type the command in a server where sow is available. Replace any values in angle brackets with your own.

/purge amount:<amount>

Who can use it?

Manage Messages permission or a configured moderator role; role hierarchy still applies.

sow also needs the permission for the action it performs. Its role must be above the target member’s highest role. Check moderation setup.

Server settings, integration availability and shared usage limits can affect whether a command is available.