Purging
Bulk delete messages in a channel, with filters for links, invites, images and mentions.
Sign in to suggest an edit to this page.
Basic Purging
You can purge any amount of messages (up to 200) by typing c!purge any <amount>. This deletes the specified number of messages as long as they are not older than 2 weeks and are not pinned.
Advanced Purge Filters
If you only want to purge specific messages that meet certain conditions you can use an advanced purge filter by typing c!purge <type> <amount>. You can view a list of advanced filters below:
- Links (Any well-formatted URL/Link)
- Invites (Fluxer and Discord invite links)
- Images (Any messages that have an image/file attached)
- Mentions (Any messages that contain at least 1 user mention)
- Embeds (Any messages that contain an embed)
- Self (Any messages that were sent by Cakey Bot)
- Bots (Any messages that were sent by a bot)
- Components (Any messages that have buttons or selection dropdowns)
- User (Any messages that were sent by the specified user)
- Special Format:
c!purge user <user id>
- Special Format:
- Until (Deletes every message between the command and the specified message ID)
- Special Format:
c!purge until <message id>
- Special Format:
- Between (Deletes every message between the specified message IDs)
- Special Format:
c!purge between <message id> <message id>
- Special Format:
Cakey Bot may purge fewer messages than the number you specify. This could be due to a few reasons: * There are not enough messages that meet the specified filter * Some messages may be older than 2 weeks within the specified amount * Some messages may be "pinned" within the specified amount
Related Commands
- /purge any Manage Messages
Delete a number of messages in the channel.
/purge any <amount> [reactionsOnly] - /purge between Manage Messages
Delete every message between the two given message IDs. (Includes the two given)
/purge between <firstMessageId> <secondMessageId> [reactionsOnly] - /purge bots Manage Messages
Delete messages sent by any bots in the channel.
/purge bots <amount> [reactionsOnly] - /purge components Manage Messages
Delete messages that contain components. (buttons/selects).
/purge components <amount> [reactionsOnly] - /purge embeds Manage Messages
Delete messages containing rich embeds in the channel.
/purge embeds <amount> [reactionsOnly] - /purge images Manage Messages
Delete a number of images in the channel.
/purge images <amount> [reactionsOnly] - /purge invites Manage Messages
Delete community invites posted in the channel.
/purge invites <amount> [reactionsOnly] - /purge links Manage Messages
Delete a number of links posted in the channel.
/purge links <amount> [reactionsOnly] - /purge mentions Manage Messages
Delete messages with mentions in the channel.
/purge mentions <amount> [reactionsOnly] - /purge self Manage Messages
Delete messages sent by Cakey Bot in the channel.
/purge self <amount> [reactionsOnly] - /purge until Manage Messages
Delete every message after the given message ID.
/purge until <messageId> [reactionsOnly] - /purge user Manage Messages
Delete messages sent by given user.
/purge user <user> <amount> [reactionsOnly]