Purger

Information regarding the purger module

Make sure Gaius has the following role perms for this module to work: Manage Messages, Embed Links

Commands

Command

Description

Perm

!module purger

Enable/Disable the module

:crown2:

!purge number

Purges the specified amount of messages from the channel

:shield2:

!purge number @mention

Purges the specified amount of messages from a specific user in the channel

:shield2:

!purge number @rolemention

Purges the specified amount of messages from a specific role in the channel

:shield2:

!purge number text

Purges the specified amount of messages with that text/letter in the channel

:shield2:

Advanced Purging

Example: !purge 10 images will purge the last 10 images in the channel.

Variable

Description

role

Whether or not to check for roles

mentioned

The role or user id to look for

not

Whether to invert all options except role

startswith

Check if 'themsg' ends the string

endswith

Check if 'themsg' ends the string

links

Checks for links

bots

Check for messages by bots

text

Check for messages containing text

images

Check for messages containing only image attachments

Invites

Check for messages containing invites only

Embeds

Check for messages containing embeds