You can purge any amount of messages (up to 100) by typing /purge any <amount>
. This will delete the specified number of messages as long as they are not older than 2 weeks and are not pinned.
If you only want to purge specific messages that meet certain conditions you can use an advanced purge filter by typing /purge <type> <amount>
. You can view a list of advanced filters below:
/purge user <user id>
/purge until <message id>
/purge between <message id> <message id>
Sometimes Cakey Bot will 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
Usage Key: <required>
/ [optional]
Command | Description | Usage | Permission |
---|---|---|---|
/purge any | Delete a number of messages in the channel. | <amount> [reactions-only] | Administrator |
/purge between | Delete every message between the two given message IDs. (Includes the two given) | <first-message-id> <second-message-id> [reactions-only] | Administrator |
/purge bots | Delete messages sent by any bots in the channel. | <amount> [reactions-only] | Administrator |
/purge components | Delete messages that contain components. (buttons/selects). | <amount> [reactions-only] | Administrator |
/purge embeds | Delete messages containing rich embeds in the channel. | <amount> [reactions-only] | Administrator |
/purge images | Delete a number of images in the channel. | <amount> [reactions-only] | Administrator |
/purge invites | Delete server invites posted in the channel. | <amount> [reactions-only] | Administrator |
/purge links | Delete a number of links posted in the channel. | <amount> [reactions-only] | Administrator |
/purge mentions | Delete messages with mentions in the channel. | <amount> [reactions-only] | Administrator |
/purge self | Delete messages sent by Cakey Bot in the channel. | <amount> [reactions-only] | Administrator |
/purge until | Delete every message after the given message ID. | <message-id> [reactions-only] | Administrator |
/purge user | Delete messages sent by given user. | <user> <amount> [reactions-only] | Administrator |