Purge (p)
Wick's purge command is explained in detail here!

Aliases

    w!p
    w!c
    w!sweep
    w!clear

Description

You can target any type of message you want and delete them in bulk by using Wick's awesome purge command. All scenarios are covered too.
    We also tried our best to make the command super easy for people but also super customizable for advanced users as well.

Permit

Members able to use the purge commands are:
    Server Owner and Extra Owners. [Permit level 5]
    Trusted Admins [Permit level 4]
    Members with the Admin role set in Wick. [Permit level 3]
    Members with the Moderator role set in Wick. [Permit level 2]

Preview

w!purge

Format

w!purge <NO.-OF-MESSAGES> <USER/PARAMETER>

Number of messages

You must provide this so that Wick actually knows how many messages it's going to purge.
    w!purge X is the syntax!
For example, if you want to purge the last 1000 messages sent in a channel, run the command w!purge 1000 in that specific channel!

<INPUT>

Input can be the user/role/webhook depending on what you want to purge. The syntax is w!purge X <USER> where X is the number of messages to be purged and is the ID/Mention/Name or the specified user.
For example, if you want to purge the last 25 messages sent in a channel by a user named barb, run the command w!purge 25 barb in that specific channel!
    You can mention the member, type out their username, their tag, or even their ID
    You don't have to type the full thing if you are sure it's the only member with a username/tag/id that starts with what you want to provide, for an example, I only that juju is the only member with such a name, I can just do w!purge 50 ju and Wick would delete 50 messages sent by juju.
    You can provide a webhook ID or even name if you want to target that webhook's messages.
    You can mention the role, type out's name or event it's ID if you want to target all messages sent by members who happen to have the role.

<PARAMETERS>

Parameters are the purge options you can pass if you want extra input or a custom behaviour. They must come after the number of messages!
If you want to target a specific kind of message, you need to use this parameter and actually provide the <PARAMETER> you need. If this parameter is used, <INPUT> has to be just a number!

Parameters available are:

Type
What they do
Example
Suspicious
Target messages sent by suspicious users
w!p 50 s
Bots
Target bot messages
w!p 50 b
Users
Target non-bot messages
w!p 50 u
Webhooks
Target Webhook messages
w!p 50 w
No-Avatar
Target messages sent by members with no PfPs
w!p 50 noav
No-Role
Target messages sent by members with 0 roles
w!p 50 nr
Embeds
Target Embed messages
w!p 5 e
Attachments
Target Attachment messages
w!p 50 a
Links
Target Links (even if they don't show a preview)
w!p 50 l
Role
Target users with a specific Role
w!p 50 members
Reactions
Target messages that contain Reactions
w!p 50 reactions
Emojis
Target messages that contain Emojis
w!p 50 emojis
Text
Target messages that only contain Text
w!p 50 text
Examples with types:

Embeds

w!purge 25 embeds
    This command will purge 25 messages that contain embeds in the channel this command was used in.
w!p 100 embeds

Suspicious

w!purge 25 suspicious
    This command will purge 25 messages sent by users deemed suspicious by wick in the channel this command was used in.
Alias(es): -sus
    w!p 25 -sus
w!p 100 sus

Bots

w!purge 10 bot
    This command will purge 10 messages sent by bots in the channel this command was used in.
Alias(es): -bot / bots / robot / robots
    w!p 10 -bot
    w!p 10 bots
    w!p 10 robot
    w!p 10 robots
You can also use w!botclear X or w!bc X to clear X number of messages sent by bots
    For example, w!bc 50 will purge 50 messages sent by bots!
w!p 100 bots

User

w!purge 25 user
    This command will purge 25 messages sent by normal users in the channel this command was used in.
Alias(es): -u / -m / users / member / members
    w!p 25 -u
    w!p 25 -m
    w!p 25 member
    w!p 25 members
w!p 100 members

Mention

w!purge 25 mention
    This command will purge 25 messages that contain mentions in the channel this command was used in.
Alias(es): -p / mention / ping / pings / @
    w!p 25 -p
    w!p 25 mention
    w!p 25 ping
    w!p 25 pings
    w!p 25 @

Reactions

w!purge 25 reactions
    This command will purge 25 messages that contain reactions in the channel this command was used in.
Alias(es): -r/ reaction / react / reacts
    w!p 25 -r
    w!p 25 reaction
    w!p 25 react
    w!p 25 reacts

Webhook

w!purge 100 webhook
    This command will purge 100 messages sent by webhooks in the channel this command was used in.
Alias(es): -w / webhooks
    w!p 100 -w
    w!p 100 webhooks
w!p 100 webhooks

Emojis

w!purge 100 emojis
    This command will purge 100 messages that contain emojis in the channel this command was used in.
Alias(es): emote / emotes / emoji
    w!p 100 -emote
    w!p 100 emotes
    w!p 100 emoji

No Avatars

w!purge 70 noav
    This command will purge 70 messages sent by users with no avatars in the channel this command was used in.
Alias(es): -na/ noavatar/ nopic
    w!p 70 -na
    w!p 70 noavatar
    w!p 70 nopic

Text

w!purge 70 text
    This command will purge 70 messages that only contain text in the channel this command was used in.
Alias(es): -txt / txt / noimage / noembed
    w!p 70 -txt
    w!p 70 txt
    w!p 70 noimage
    w!p 70 noembed

No Roles

w!purge 25 norole
    This command will purge 25 messages sent by users with no roles in the channel this command was used in.
Alias(es): -nr / stripped
    w!p 25 -nr
    w!p 25 -stripped
w!purge 1000 norole

Attachments

w!purge 30 img
    This command will purge 30 messages that contain images in the channel this command was used in.
Alias(es): -pic / image / attach
    w!p 30 -pic
    w!p 30 image
    w!p 30 attach
w!p 100 attachments
w!purge 50 links
    This command will purge 50 messages that contain ** in the channel this command was used in.
Alias(es): -l
    w!p 50 -l
w!p 100 links

Verification messages

w!purge 5 ver
    This command will purge 5 Failed to Verify messages sent by Wick in your verification channel without affecting any ongoing verifications.
Alias(es): -v
    w!p 5 -v

Advanced Types:

Using Message IDs

You can target a number of messages that come before or after a provided message ID.

Purging messages AFTER an ID

    w!purge 10 after 823156959690620938
This command will make Wick target the 10 messages that come AFTER the message with the ID provided. In this case, the message ID is 667395122387877938.
Alias(es): -a
    w!purge 10 -a 823156959690620938
Purging messages AFTER an ID

Purging messages BEFORE an ID

    w!purge 10 before 823158143541444638
This command will make Wick target the 10 messages that are sent BEFORE the message with the ID provided. In this case, the ID is 667395122387877938. Alias(es): -b
    w!purge 10 -b 823156959690620938
Purging messages BEFORE an ID

Targetting specific messages

Targetting messages that EXACTLY matches a string

You can target a number of messages which happen to have EXACTLY the same content you are going to provide.
If you want to purge 10 messages that ONLY say, "Fnaki is super hot wow", use the following command
    w!purge 10 equals Fnaki is super hot wow
Alias(es): = / equal / match
    w!purge 10 = Fnaki is super hot wow
    w!purge 10 equal Fnaki is super hot wow
    w!purge 10 match Fnaki is super hot wow
Before Purging
w!purge 10 equal Fnaki is super hot wow!

Targetting messages that CONTAINS a string

You can target a number of messages which happen to CONTAIN the same content you are going to provide.
If you want to purge 10 messages that contains say, "who is fnaki", use the following command
    w!purge 10 has who is fnaki
Alias(es): -h / includes
    w!purge 10 -h who is fnaki
    w!purge 10 includes who is fnaki
Before Purging
w!purge 10 has fnaki

Targetting messages that START WITH a specific string

You can target a number of messages which happen to START with the same content you are going to provide.
If you want to purge 10 messages that start with say, "fnaki is annoying", use the following command
    w!purge 10 starts fnaki is annoying
Alias(es): -s / start
    w!purge 10 -s fnaki is annoying
    w!purge 10 start fnaki is annoying
Before Purging
w!p 5 -s barb

Logging

Wick will log any and all purges made using it in your wick-logs channel, your modlogs channel and in the audit logs.
    The wick-logs channel will have an embed that will contain information pertaining to the purge, the mod who purged,the type of purge and so on.
Wick Logging Channel

More information regarding Purges

[1.] Currently, more than 1000 messages cannot be purged using a single command. You'd have to do it using multiple commands.
[2.] Wick also logs when someone purges message in its wick-logging channel

Due to a Discord limitation, Wick can't delete messages older than 2 weeks!

Last modified 1yr ago