Set Bot Protection
This command (set_bot_protection) sets whether bots that have not been whitelisted should automatically be kicked from the server. This can be useful for server security.
Permissions
User Permissions
- The user's highest role must be higher in the role hierarchy than the bot's highest role.
Parameters
status
Required. A boolean, indicating the new server bot protection status.
ephemeral
Optional. Whether other server members should be able to see the bot's response. Does not affect logging.
Cooldown
Like other commands, cooldowns operate at the server level. The cooldown values are:
| Basic | Standard | Advanced |
|---|---|---|
| 5 minutes | none | none |