/honeypot¶
Tip
This command requires the administrator permission by default.
To learn how to change this, please check the faq command.
The honeypot feature automatically bans users who post messages in a designated honeypot channel or grab a specific role. This is useful for catching malicious bots.
To set up the honeypot channel, please create a channel and/or a role that you want to use as honeypots. The exempt roles are roles that will not be affected by the honeypot feature, such as staff roles.
/honeypot enable¶
Enables the honeypot feature in your server.
The honeypot feature automatically bans users who post messages in a designated honeypot channel or grab a specific role. This is useful for catching malicious bots.
To set up the honeypot channel, please create a channel and/or a role that you want to use as honeypots. The exempt roles are roles that will not be affected by the honeypot feature, such as staff roles.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
role
|
Role
|
The honeypot role that, when grabbed by a user, will result in an automatic ban. |
None
|
channel
|
TextChannel
|
The honeypot channel that, when posted in by a user, will result in an automatic ban. |
None
|
exempt_roles
|
list[Role]
|
A list of roles that are exempt from the honeypot bans. Defaults to None. |
None
|
logchannel
|
TextChannel
|
The channel where honeypot actions will be logged. Defaults to None. |
None
|
/honeypot disable¶
Disables the honeypot feature in your server.
Once disabled, users will no longer be automatically banned for posting in the honeypot channel or grabbing the honeypot role.
/honeypot status¶
Checks the status of the honeypot feature in your server.
/honeypot counts¶
Gets the counts of honeypot actions in your server.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ephemeral
|
bool
|
Whether the response should be ephemeral (only visible to you). Defaults to True. |
True
|