Skip to content
The Pengu field guide

Documentation

Find your next step. Browse a guide or search for a feature, reward, or command.

← All server-manager guides

Clean up or purge channel messages

Preview the messages you want to delete before confirming.

Channel moderators · current-channel Manage Messages required

Use /admin cleanup to remove Pengu’s messages and Pengu command messages. Ordinary conversation is excluded. Use /admin purge when you also want to remove ordinary messages. Choose an amount from 1–100.

Both tools check messages before your command in the current channel. Pins are protected, and messages near or beyond Discord’s 14-day bulk-delete limit are skipped. The amount is the maximum checked, so fewer may be deleted.

Read the private preview and confirm within two minutes, or cancel. Deleted messages cannot be restored by Pengu. You and Pengu both need Manage Messages, View Channel, and Read Message History in that channel.

For text commands, use !cleanup 25 or !purge 20, then click the button for your private preview. The original command marks where the cleanup stops. Read the final count and any skipped messages before trying again. If /admin is hidden from moderators, check Server Settings → Integrations.

Manager commands · permissions required

Examples

Run these in Discord. Text examples use the default ! prefix; replace it with your server’s configured prefix. Review required permissions and confirmations above.

  • /admin cleanup amount:25
  • /admin purge amount:100
  • !cleanup 25
  • !purge 20
  • !purge 100

Keep exploring

Server-manager command reference

2 actions

Find a server-management command and check the permissions shown before using it.

Permissions and command visibility

Open /admin panel for the tools you can use. Most need Manage Server; role changes also need Manage Roles, and message cleanup needs Manage Messages. If moderators cannot see /admin, check Server Settings → Integrations.

Text examples use the default ! prefix; replace it with your server’s configured prefix if changed. Use !admin for the menu or a shortcut such as !diagnose. Click the tool’s button to open your private reply or preview. The command and button are visible in the channel, so keep private details out of text commands.

/admin2 actions

/admin cleanup

Preview removal of Pengu messages and recognized commands only

Channel moderators · current-channel Manage Messages required for you and Pengu · Required: amount

Direct text examples:

  • !cleanup 25
Options and accepted values (1)
  • amount · Required · whole numberMaximum eligible messages, 1–100; pins protected (minimum 1; maximum 100)

/admin purge

Preview deleting up to 100 preceding channel messages; pins protected

Channel moderators · current-channel Manage Messages required for you and Pengu · Required: amount

Direct text examples:

  • !purge 20
Options and accepted values (1)
  • amount · Required · whole numberRequested number, 1–100 (minimum 1; maximum 100)