Purge Messages - kabiiQ/FBK GitHub Wiki

🧹 Message Purge Commands

🔒 Using purge commands to delete messages in a channel requires you to have the Manage Messages permission in that channel.

Purge commands allow you to quickly delete multiple messages from a channel.

Restrictions:

  1. Purge commands will skip deleting pinned messages.
  2. Due to Discord limitations, messages more than 14 days old can not be bulk-deleted.

Purging by specifying the number of messages to delete '

The /purge count command is used to delete a specific number of recent messages.

Example: /purge count number:20 to delete the last 20 messages in the channel.

Usage Example

Purging by specifying the first message ID to delete

If you want to remove recent chat history up to a particular message, it is easier to grab the message ID and use the /purge from command, rather than counting how many messages to delete.

Usage: /purge from <start>

❗ This will delete all messages between and including this message ID and the most recent message in the channel.

See the Discord article on getting message IDs for enabling developer mode to access message IDs.

⚠️ **GitHub.com Fallback** ⚠️