-
Notifications
You must be signed in to change notification settings - Fork 5
Purge Messages
🔒 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:
- Purge commands will skip deleting pinned messages.
- Due to Discord limitations, messages more than 14 days old can not be bulk-deleted.
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.
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.