/purge¶
Tip
This command requires the administrator
permission by default.
To learn how to change this, please check the faq command.
/purge standard¶
The standard way of purging messages.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
amount |
int
|
An amount of messages to purge. |
required |
reason |
str
|
A reason for why the messages were purged. |
None
|
/purge user¶
Purge an amount of messages from a given user
Parameters:
Name | Type | Description | Default |
---|---|---|---|
amount |
int
|
A number between 1 and 100 |
required |
user |
User
|
A user who's messages should be purged |
required |
reason |
str
|
A reason for why the messages were purged. Defaults to None. |
None
|
/purge before¶
Purging messages before a given date
Parameters:
Name | Type | Description | Default |
---|---|---|---|
amount |
int
|
The amount of messages to purge |
required |
before_date |
str
|
A UTC date in the format of YYYY-MM-DD HH:MM, eg: 2022-06-30 14:40 |
required |
reason |
str
|
A reason for why the messages were purged |
None
|