Moderation Commands
These commands assist server administrators and moderators in maintaining order and enforcing server rules.
Common Issues (General Moderation):
Command fails with "Role Hierarchy Error" → The bot's highest role must be positioned higher than the target user's highest role.
Command fails with "Permission Error" → Ensure the user running the command has the required Discord permission (e.g.,
Ban Members,Manage Channels).Action is not logged → Verify that the Logging System is enabled and configured to track moderation events.
Cannot ban/kick owner → Discord prevents bots from banning or kicking the server owner.
antiraid
Configure anti-raid protection settings.
Usage:
;antiraid <subcommand> [options]Parameters:
subcommand
string
Yes
The action to perform (enable/disable/config/status/test/stats).
Permission Required: Administrator
Examples:
;antiraid enable
;antiraid config threshold 5Notes:
Use
;antiraid helpfor a detailed list of subcommands and options.Requires Administrator permissions for the user and bot.
ban
Ban a user from the server.
Usage:
;ban <user> [reason]Parameters:
user
mention/ID
Yes
The user to ban.
reason
string
No
Optional reason for the ban.
Permission Required: Ban Members
Examples:
;ban @User Spamming
;ban 123456789 Breaking rulesNotes:
The bot requires
Ban Memberspermission.Your highest role must be above the target user's highest role.
cwarns
Clear all warnings for a user.
Usage:
;cwarns <user>Parameters:
user
mention/ID
Yes
The user to clear warnings for.
Permission Required: Manage Messages
Examples:
;cwarns @User
;cwarns 123456789Notes:
The bot requires
Manage Messagespermission.You cannot clear warnings for users with higher or equal roles.
hardban
Permanently ban a user with no possibility of unban.
Usage:
;hardban <userID>Parameters:
userID
string
Yes
The ID of the user to permanently ban.
Permission Required: Administrator
Examples:
;hardban 123456789Notes:
WARNING: This action is irreversible through normal bot commands. Reversing requires contacting bot support.
Only the server owner can use this command.
jail
Jail management system.
Usage:
;jail <user> [duration] [reason]Parameters:
user
mention/ID
Yes
The user to jail.
duration
string
No
Optional duration for temporary jail (e.g., 1h, 1d).
reason
string
No
Optional reason for the jail.
Permission Required: Moderate Members
Examples:
;jail @User 2h Spamming
;jail listNotes:
Use
;jail setupto automatically configure the jail system (creates role and channel).Use
;jail listto view all currently jailed users.
kick
Kick a member from the server.
Usage:
;kick <user> [reason]Parameters:
user
mention/ID
Yes
The user to kick.
reason
string
No
Optional reason for the kick.
Permission Required: Kick Members
Examples:
;kick @User Spamming
;kick 123456789 Breaking rulesNotes:
The bot requires
Kick Memberspermission.Your highest role must be above the target user's highest role.
lock
Lock the channel for @everyone and the most populated role if it has >60% members.
Usage:
;lock [#channel] [reason]Parameters:
channel
mention
No
The channel to lock. Defaults to the current channel.
reason
string
No
Optional reason for the lock.
Permission Required: Manage Channels
Examples:
;lock #general Maintenance
;lock Raid in progressNotes:
The bot requires
Manage Channelspermission.
lockdown
Lock down all channels in the server.
Usage:
;lockdown [reason]Parameters:
reason
string
No
Optional reason for the lockdown.
Permission Required: Administrator
Examples:
;lockdown Raid in progress
;lockdown EmergencyNotes:
The bot requires
Manage ChannelsandManage Rolespermissions.
modlogs
View moderation logs and history.
Usage:
;modlogs <subcommand> [options]Parameters:
subcommand
string
Yes
The type of log view (server/user/history/stats/search/recent/type).
Permission Required: Manage Messages
Examples:
;modlogs server
;modlogs user @UserNotes:
Use
;modlogs helpfor a detailed list of subcommands and options.
modnotes
Add or view moderator notes on users.
Usage:
;modnotes <subcommand> <user> [content]Parameters:
subcommand
string
Yes
The action to perform (add/view/remove/search).
user
mention/ID
Yes
The user to manage notes for.
content
string
No
The note content or note ID for removal.
Permission Required: Manage Messages
Examples:
;modnotes add @User Warned for spamming
;modnotes view @UserNotes:
Use
;modnotes helpfor a detailed list of subcommands and options.
setautomod
Set up automated content moderation rules.
Usage:
;setautomod toggle <filter> [true/false]Parameters:
filter
string
Yes
The filter to toggle (slurs/swears/invites/links/religion/bypass/hardslurs).
value
boolean
No
Enable or disable the filter (true/false). Toggles if omitted.
Permission Required: Manage Server
Examples:
;setautomod toggle slurs true
;setautomod blacklist add badwordNotes:
Use
;setautomod helpfor a detailed list of subcommands and options.
slowmode
Set the slow mode duration of a channel.
Usage:
;slowmode <duration>Parameters:
duration
number
Yes
The slowmode duration in seconds (0-21600).
Permission Required: Manage Channels
Examples:
;slowmode 10
;slowmode disableNotes:
Use
;slowmode disableor;slowmode offto remove slowmode.
spy
Bans all known spy/bot accounts.
Usage:
;spyParameters:
Permission Required: Administrator
Examples:
;spyNotes:
This command bans a predefined list of known malicious bot accounts.
tempjail
Temporarily jail a user.
Usage:
;tempjail <user> <duration> [reason]Parameters:
user
mention/ID
Yes
The user to jail.
duration
string
Yes
Duration of the jail (e.g., 1h, 30m, 1d).
reason
string
No
Reason for the jail.
Permission Required: Ban Members
Examples:
;tempjail @User 1h Spamming
;tempjail 123456789 2d Breaking rulesNotes:
The bot requires
Manage Rolespermission.Users are automatically unjailed after the duration expires.
timeout
Mute a member for a specified time.
Usage:
;timeout <user> <duration> [reason]Parameters:
user
mention/ID
Yes
The user to timeout.
duration
string
Yes
Duration of the timeout (e.g., 1h, 30m, 1d).
reason
string
No
Reason for the timeout.
Permission Required: Moderate Members
Examples:
;timeout @User 1h Spamming
;timeout 123456789 2d Breaking rulesNotes:
The bot requires
Moderate Memberspermission.
triggerword
Manage trigger words for moderation.
Usage:
;triggerword <add/remove/list> <word>Parameters:
subcommand
string
Yes
The action to perform (add/remove/list).
word
string
Yes
The word to add or remove from the trigger list.
Permission Required: Manage Messages
Examples:
;triggerword add badword
;triggerword listNotes:
Use
;triggerword helpfor a detailed list of subcommands and options.
unban
Unban a user from the server.
Usage:
;unban <user_id> [reason]Parameters:
user_id
string
Yes
The ID of the user to unban.
reason
string
No
Reason for unbanning the user.
Permission Required: Ban Members
Examples:
;unban 123456789
;unban 123456789 Appealed banNotes:
The bot requires
Ban Memberspermission.
unjail
Release users from jail or temp jail.
Usage:
;unjail <user> [reason]Parameters:
user
mention/ID
Yes
The user to release from jail.
reason
string
No
Reason for releasing the user.
Permission Required: Ban Members
Examples:
;unjail @User
;unjail 123456789 Served timeNotes:
The bot requires
Manage Rolespermission.
unlock
Unlock the channel for @everyone and the most populated role if it has >60% members.
Usage:
;unlock [#channel]Parameters:
channel
mention
No
The channel to unlock. Defaults to the current channel.
Permission Required: Manage Channels
Examples:
;unlock
;unlock #generalNotes:
The bot requires
Manage Channelspermission.
unlockdown
Unlock all channels and restore previous permissions.
Usage:
;unlockdownParameters:
Permission Required: Manage Channels
Examples:
;unlockdownNotes:
The bot requires
Manage Channelspermission.
unmute
Unmute a member from the server.
Usage:
;unmute <user> [reason]Parameters:
user
mention/ID
Yes
The user to unmute.
reason
string
No
Reason for unmuting the user.
Permission Required: Moderate Members
Examples:
;unmute @User
;unmute 123456789 Timeout completedNotes:
The bot requires
Moderate Memberspermission.
vanityguard
Manage vanity URL protection for your server.
Usage:
;vanityguard <subcommand> [options]Parameters:
subcommand
string
Yes
The action to perform (enable/disable/status/set/logchannel/help).
Permission Required: Manage Server
Examples:
;vanityguard enable
;vanityguard set myserverNotes:
Use
;vanityguard helpfor a detailed list of subcommands and options.
voteban
Start a vote to ban a user from the server.
Usage:
;voteban <user> <duration> [reason]Parameters:
user
mention/ID
Yes
The user to start a vote ban for.
duration
string
Yes
Duration for the vote (e.g., 30s, 5m, 1h).
reason
string
No
Reason for the vote ban.
Permission Required: Ban Members
Examples:
;voteban @User 5m
;voteban 123456789 2m Breaking rulesNotes:
The bot requires
Ban MembersandAdd Reactionspermissions.
warn
Warn a user for breaking server rules.
Usage:
;warn <user> [reason]Parameters:
user
mention/ID
Yes
The user to warn.
reason
string
No
Reason for warning the user.
Permission Required: Manage Messages
Examples:
;warn @User Spamming in chat
;warn 123456789 Inappropriate behaviorNotes:
The bot requires
Manage Messagespermission.
warns
Check warns a user has.
Usage:
;warns [user]Parameters:
user
mention/ID
No
The user to check warnings for. Defaults to yourself.
Permission Required: Manage Messages
Examples:
;warns
;warns @UserNotes:
The bot requires
Manage Messagespermission.
Last updated
Was this helpful?