Complete setup guide and command list for Anti Raid Bot. Learn how to configure anti-raid modules, action limits, and trusted roles in Discord.
Teams bot
For most commands to work, the bot requires Administrator rights and the correct configuration of the role hierarchy in Discord.
/antiremove_role v2.0
Configuring protection of participants from role changes. Opens the interactive control panel.
Requirements & Details:- You can protect up to 15 users (including bots and the server owner).
- Any attempts to change the protected user's roles will be automatically rolled back.
- Available to the server owner and authorized persons.
/raid Recommended
Enable or disable anti-raid protection mode (auto-block spammers, auto-ban for mass logins).
Parameters:Select (Enable/Disable) — Activate or deactivate protection.
Requirements & Details:- Requires bot rights to manage roles, channels, and view the audit log.
- The bot's role in the Discord hierarchy should be above the roles of moderated participants.
- Available to the server owner and authorized persons.
/bot_verify v2.1
Enable or disable automatic checking of new bots on the server. Blocks the addition of unauthorized bots.
Parameters:Select (Enable/Disable) — Enable or disable scanning. If not specified, opens an interactive dashboard.
Requirements & Details:- When verification is enabled, all new bots without a verification checkbox will be automatically kicked.
- Requires bot rights to expel participants and manage roles.
- Available to the server owner and Trusted +.
/status
Check the current status of raid protection, limit configuration and module status.
Requirements & Details:- Shows the detailed status of enabled protection systems and the overall health of the server.
- Available to the server owner and authorized persons.
/limits
Setting up daily limits for actions with roles and channels to protect against server crashes.
Requirements & Details:- Opens a pop-up window (modal) for entering the maximum number of allowed actions per day.
- Helps prevent compromised administrators from destroying the server.
- Available to the server owner and Trusted +.
/trusted
Manage server trusted lists. Allows configuring Trusted and Trusted + lists of members.
Requirements & Details:- Opens an interactive menu with lists of trusted members.
- Members of the Trusted + list get full owner-level permissions to manage the bot, except for modifying the Trusted + list itself.
- Managing the ordinary trusted list is available to the owner and Trusted +. Managing Trusted + is available only to the server owner.
/role_blacklist
Role blacklist management. Any role from this list will be automatically removed from participants upon issuance.
Requirements & Details:- Opens an interactive panel for adding/removing roles and viewing the list.
- Useful for blocking the issuance of administrative rights or hidden roles.
- Available to the server owner and authorized persons.
/permstop Anti-crash
Configure protection against dangerous role permissions. Opens an interactive panel where you choose which permissions the bot should automatically roll back.
Requirements & Details:- Protects selected role permissions: Administrator, role/channel/server/webhook/emoji and sticker management, bans, kicks, timeouts and audit log access.
- If an untrusted member changes a protected permission on a role, the bot restores the previous permissions using the audit log.
- The server owner and trusted users are ignored by this protection.
- After 4 violations within an hour, the bot removes roles from the violator; if the violator is a bot, it kicks it.
- Requires the bot to have Manage Roles, Send Messages, Embed Links and View Audit Log permissions; the bot role must be above the roles it manages.
/settings
Shows the current detailed security settings, action restrictions and general bot configuration.
Requirements & Details:- Opens the server settings panel.
- Available to the server owner and Trusted +.
/reset v3.2
Reset actions and violation limits for a user.
Parameters:User — The server member for whom to reset limits.
Requirements & Details:- Instantly resets the counter of actions and violations for a user.
- Allows returning roles to a user if they accidentally exceeded limits.
- Available to the server owner and trusted users.
/language
Changing the bot interface language on the server. Opens an interactive menu with a selection of available languages.
Requirements & Details:- Allows you to switch the language of the bot messages (for example, to Russian or English).
- The setting applies to all bot messages on the current server.
- Available to the server owner and authorized persons.
/role_clear
Mass deletion of the specified role for all server participants.
Parameters:Role — A role that needs to be taken away from all participants.
Requirements & Details:- You cannot clear the @everyone role, or roles managed by other integrations or bots.
- The bot must have the right to manage roles, and its role must be higher than the one being cleared.
- Requests confirmation of an action using interactive buttons.
- Available to the server owner and Trusted +.
/aban Emergency
Emergency removal of all roles from the offender followed by a ban on the server.
Parameters:Participant — An intruder on the server who needs to be banned.
Requirements & Details:- Removes all roles before locking to prevent restriction bypass.
- Available to the server owner and roles listed as allowed via /aban_menu.
/aban_menu
Interactive menu for setting up roles whose members are allowed to use the emergency ban (/aban).
Requirements & Details:- Allows you to delegate the use of /aban to moderators without giving them rights to the bot settings.
- Available to the server owner and authorized persons.
/amnesty
Complete server amnesty - unblocking all previously banned server members.
Requirements & Details:- Requires the bot to have the right to ban participants.
- Opens an interactive confirmation menu.
- Available to the server owner and Trusted +.
/freeze_mode
Emergency server freeze. Completely blocks the creation of channels, roles, webhooks and invitations.
Requirements & Details:- Switches the freezing mode (on/off). All unauthorized actions are automatically rolled back.
- Requires Administrator rights for the bot.
- Available to the server owner and authorized persons on Premium servers.
/permcopy
Quickly copy access rights and override role settings from one channel to another.
Parameters:Channel — Text channel is the source of rights.Channel — Text channel-destination.
Requirements & Details:- Overwrites all rights overrides in the target channel with overrides from the source.
- The bot must have the right to manage channels and rights in the target channel.
- Available to the server owner and authorized persons.
/creact
Enable or disable the message deletion mode based on the specified reaction.
Parameters:Select (Enable/Disable) — Enable or disable the mode.Text (emoji) — The smile (emoji) that the bot will respond to. Standard emoji and custom ones from this server are acceptable.
Requirements & Details:- Deletes messages that have received the specified reaction from users with allowed roles.
- Does not delete messages from the server owner and trusted persons.
- Does not work for messages older than 14 days (Discord API limitation).
- Available to the server owner and authorized persons.
/creact_menu
Interactive menu for setting up a list of roles whose members can use reactions to delete messages.
Requirements & Details:- Allows you to determine which moderators or users can clear the chat with a reaction.
- Available to the server owner and authorized persons.
/gsync
Configuring global blocking synchronization (GBan) and binding the current server to the network.
Requirements & Details:- Opens the linked server management menu.
- Available to the server owner and Trusted +.
/gban_menu
Interactive menu for setting roles that are allowed to issue global bans (/gban) and unbans (/gunban).
Requirements & Details:- Allows you to give moderators access to global bans on your network.
- Requires preliminary server binding via /gsync.
- Available to the server owner and authorized persons.
/gban
Global blocking of an attacker on all linked servers of your synchronization network.
Parameters:User — User for global ban.Number (0-7) — The number of days to delete the offender's messages. Default: 7.Text — Reason for global ban. Default: Not specified.
Requirements & Details:- Automatically sends bans to all servers linked by the owner to the network.
- You cannot block yourself or the server owner.
- Available to the server owner and roles added to the list via /gban_menu.
/gunban
Global unblocking of the user on all linked servers on your network.
Parameters:User — User to remove ban.Text — Reason for unlocking. Default: Not specified.
Requirements & Details:- Removes the ban on all servers on your network.
- You cannot unban a user if the ban was issued by another server network.
- Available to the server owner and roles added to the list via /gban_menu.
/grole_copy
Quick copying of a role with all settings and rights to all linked servers on the network.
Parameters:Role — The role to be cloned.
Requirements & Details:- Creates a role with similar color, rights and settings on all other servers on the network.
- Helps quickly synchronize moderator access levels across all servers.
- You cannot copy @everyone or integration roles.
- Available to the server owner and Trusted +.
/custom
Interactive menu for customizing the appearance of the bot on your server (avatar, name, status).
Requirements & Details:- Opens a menu for changing the avatar, banner and bot name.
- Available to the server owner and Trusted + on servers with an active premium subscription.