Why does /purge ask for confirmation, delete nothing or spare some messages?

CommandsPurgeTroubleshooting

The /purge command (see the main article) is deliberately cautious, because a deleted message does not come back.

Confirmation beyond 20 messages

If more than 20 messages are about to go, the bot first shows how many and what they have in common, with two buttons:

  • Delete N messages (red): starts the deletion.
  • Cancel: deletes nothing.

With no answer within 30 seconds, the purge is cancelled. Only the person who typed the command can click.

How many messages at most?

The nombre option goes from 1 to 1,000 (100 by default).

Messages that do not go

CaseExplanation
Older than fourteen daysDiscord forbids bulk deletion. The bot counts them and tells you.
Pinned messagesSpared by default. Set epingles to yes to include them.
Deleted in the meantimeSomeone erased them during the purge.

If nothing matches, the "Nothing to delete" message says how many were too old or pinned.

The permissions checked

You need Manage Messages for both you and the bot in the targeted channel, and the bot must also be able to view the history of the channel. Otherwise the command says so.

Logged Every purge is recorded in the moderation log, with the number of messages and the channel.

Still stuck?

Contact support with the title of this article, the step where you are stuck and what you see on screen.

Contact support More articles: Moderation

Last checked: 13 November 2026.