Repository navigation
01 Moderation Suite
Keep your Discord server safe, clean, and under control. This guide explains every moderation command with the exact steps inside Discord and exact previews of what you and your members will see on screen.
Tip
Role Hierarchy Rule (Important!) Discord never allows a moderator or a bot to kick, ban, or timeout someone whose highest role is equal to or higher than theirs. Make sure RookieBot's role is dragged above regular member roles in Server Settings → Roles.
-
/kick— Remove a member from the server -
/ban— Permanently ban a user (with optional message cleanup) -
/tempban— Temporarily ban a user with automatic unban -
/unban— Unban a user by their User ID -
/timeout— Temporarily mute a member (1 min to 28 days) -
/untimeout— Remove an active timeout early -
/clear— Bulk delete up to 100 messages -
/slowmode— Set a typing cooldown in a text channel -
/lock— Prevent@everyonefrom sending messages in a channel -
/unlock— Re-open a locked channel
Removes a member from the server immediately. They can rejoin later if they have a valid invite link.
| Property | Value |
|---|---|
| Command Syntax | /kick member:<@user> [reason:<text>] |
| Who Can Use It | Members with Kick Members permission |
| Bot Needs | Kick Members permission + higher role than target |
| Where It Works | Any server text channel |
| What Discord Shows | Public Embed in channel + Direct Message to the kicked user |
-
member(Required): Pick the server member from Discord's user list. -
reason(Optional): Why they are being kicked. Defaults toNo reason provided.
- Click the message bar in any text channel and type
/kick. - Click
/kickin the Discord popup menu (Kick a member from the server). - In the
memberbox, select or type the member's name (e.g.,@Spammer). -
(Optional) Press
Tabor click+1 more/reason, then type your reason (e.g.,Ignoring staff warnings). - Press
Enterto send.
A. What the kicked member receives in their DMs (if their DMs are open):
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:00 PM │
│ ⚠️ You were kicked from My Community Server. │
│ Reason: Ignoring staff warnings │
└─────────────────────────────────────────────────────────────┘
B. What appears publicly in the channel:
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:00 PM │
├─────────────────────────────────────────────────────────────┤
│ 👢 Member Kicked │
│ │
│ Member │
│ @Spammer (spammer#0000) │
│ │
│ Moderator │
│ @Moderator │
│ │
│ Reason │
│ Ignoring staff warnings │
└─────────────────────────────────────────────────────────────┘
-
Quick kick without a reason:
/kick member:@TrollUser -
Kick with an audit reason:
/kick member:@TrollUser reason:Posting inappropriate links after warning
-
❌ You cannot kick yourself!→ You selected your own account. -
❌ You cannot kick the server owner!→ Server owners cannot be kicked. -
❌ You cannot kick someone with a role equal to or higher than yours!→ Your top role is not higher than the target's top role. -
❌ I cannot kick someone with a role equal to or higher than my highest role!→ Go to Server Settings → Roles and drag RookieBot above the target member's highest role.
Bans a user from the server permanently (until unbanned) and optionally deletes their recent messages. You can even ban someone who already left the server by pasting their User ID into user.
| Property | Value |
|---|---|
| Command Syntax | /ban user:<@user or ID> [delete_message_days:<choice>] [reason:<text>] |
| Who Can Use It | Members with Ban Members permission |
| Bot Needs | Ban Members permission + higher role than target (if in server) |
| Where It Works | Any server text channel |
| What Discord Shows | Public Embed in channel + Direct Message to target (if in server) |
-
user(Required): Select a server member or paste a Discord User ID. -
delete_message_days(Optional): Choose from Discord's dropdown:-
Don't delete any messages(Default) Previous 24 Hours (1 day)Previous 7 Days
-
-
reason(Optional): Reason saved in Discord Audit Log and shown in the embed. Defaults toNo reason provided.
- Type
/banin the chat box and select/banfrom the slash menu. - In the
userbox, pick the user or paste their Discord User ID. -
(Optional) Click
delete_message_daysand chooseDon't delete any messages,Previous 24 Hours (1 day), orPrevious 7 Days. -
(Optional) Click
reasonand type why they are being banned. - Press
Enter.
A. Direct Message sent to the user before the ban (if they are in the server and DMs are open):
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:05 PM │
│ 🔨 You were banned from My Community Server. │
│ Reason: Raid account │
└─────────────────────────────────────────────────────────────┘
B. Public embed posted in the channel:
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:05 PM │
├─────────────────────────────────────────────────────────────┤
│ 🔨 Member Banned │
│ │
│ User │
│ @Raider (raider_acc - 123456789012345678) │
│ │
│ Moderator Deleted Messages │
│ @Moderator 7 day(s) │
│ │
│ Reason │
│ Raid account │
└─────────────────────────────────────────────────────────────┘
-
Ban a raid account and wipe 7 days of spam:
/ban user:@Raider delete_message_days:Previous 7 Days reason:Spamming scam links -
Ban without deleting messages:
/ban user:@RuleBreaker reason:Repeated harassment
-
❌ I cannot ban someone with a role equal to or higher than my highest role!→ Drag RookieBot higher in Server Settings → Roles. -
❌ You cannot ban yourself!/❌ I cannot ban myself!/❌ You cannot ban the server owner!→ Self-ban, bot-ban, and owner-ban are blocked for safety.
Temporarily bans a user from your server for a specific duration (e.g., 2h, 7d) and saves the expiry timestamp in SQLite so RookieBot automatically unbans them even if the bot restarts in the meantime.
-
Moderator:
Ban Members -
RookieBot:
Ban Members+ higher role than target (if currently in the server)
| Parameter | Required? | Description | Example |
|---|---|---|---|
user |
Yes | Member or user to temporarily ban | @Spammer |
duration |
Yes | Ban length (s, m, h, or d, max 365d) |
7d |
reason |
No | Audit log & DM reason | Repeated spam after warning |
- Type
/tempbanin any channel. - Select
user, enter adurationsuch as2hor7d, and add an optionalreason. - Send the command. RookieBot DMs the user, bans them, logs to SQLite, and checks every 30 seconds to unban them once the timer expires.
Channel Embed (Red):
⏳ Member Temporarily Banned
- User: @Spammer (
123456789012345678)- Duration:
7d- Unbans: <t:1760000000:R>
- Moderator: @Admin
- Reason: Repeated spam after warning
DM Sent to User:
⏳ You were temporarily banned from Your Server Name for 7d. Reason: Repeated spam after warning
- **
❌ Invalid duration! Use a number followed by \s`, `m`, `h`, or `d` (max `365d`, e.g., `2h`, `7d`).** → Make sure there are no spaces and use one unit (30m,12h,7d`). -
❌ I cannot temporarily ban someone with a role equal to or higher than my highest role!→ Move RookieBot's role above the target user's highest role.
Removes an active ban from a user using their numeric Discord User ID.
| Property | Value |
|---|---|
| Command Syntax | /unban user_id:<ID> [reason:<text>] |
| Who Can Use It | Members with Ban Members permission |
| Bot Needs | Ban Members permission |
| Where It Works | Any server text channel |
| What Discord Shows | Public Embed in channel |
-
user_id(Required): The 17–20 digit numeric Discord ID of the banned user.- How to find it: Enable Developer Mode in Discord (User Settings → Advanced → Developer Mode), go to Server Settings → Bans, right-click the user, and click Copy User ID.
-
reason(Optional): Reason for unbanning. Defaults toUnbanned by moderator.
- Copy the banned user's numeric ID from Server Settings → Bans.
- Type
/unbanin a text channel. - Paste the numeric ID into
user_id. -
(Optional) Click
reasonand enter an explanation (e.g.,Ban appeal accepted). - Press
Enter.
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:10 PM │
├─────────────────────────────────────────────────────────────┤
│ 🕊️ User Unbanned │
│ │
│ User │
│ @FormerMember (former_user - 123456789012345678) │
│ │
│ Moderator │
│ @Moderator │
│ │
│ Reason │
│ Ban appeal accepted │
└─────────────────────────────────────────────────────────────┘
/unban user_id:123456789012345678 reason:Appeal approved by admin team
-
❌ Invalid User ID. Please provide a numeric Discord User ID (e.g., 123456789012345678).→ You typed a@usernameinstead of numbers. Paste only the digits. -
❌ No ban found for User ID 123456789012345678 in this server.→ Double-check the ID in Server Settings → Bans; the user is not currently banned.
Temporarily mutes a member using Discord's native Timeout feature (they cannot send messages, react, or join voice channels until the timer expires).
| Property | Value |
|---|---|
| Command Syntax | /timeout member:<@user> duration:<minutes> [reason:<text>] |
| Who Can Use It | Members with Timeout Members (Moderate Members) permission |
| Bot Needs |
Timeout Members (Moderate Members) permission + higher role |
| Where It Works | Any server text channel |
| What Discord Shows | Public Embed + Direct Message to the muted member |
-
member(Required): The member to timeout. -
duration(Required): Number of minutes (1to40320minutes = up to 28 days).- Quick reference:
10= 10 mins,60= 1 hour,1440= 1 day,10080= 7 days.
- Quick reference:
-
reason(Optional): Reason for the timeout. Defaults toNo reason provided.
- Type
/timeoutand select the command. - Pick the target user in
member. - Enter a whole number of minutes in
duration(e.g.,60for 1 hour). -
(Optional) Enter a
reason(e.g.,Cool down after argument). - Press
Enter.
A. Direct Message sent to the member:
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:15 PM │
│ ⏳ You have been timed out in My Community Server for │
│ 1 hour(s) 0 minute(s). │
│ Reason: Cool down after argument │
└─────────────────────────────────────────────────────────────┘
B. Public Embed in channel:
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:15 PM │
├─────────────────────────────────────────────────────────────┤
│ ⏳ Member Timed Out │
│ │
│ Member │
│ @User (username#0000) │
│ │
│ Duration Moderator │
│ 1 hour(s) 0 minute(s) @Moderator │
│ │
│ Reason │
│ Cool down after argument │
└─────────────────────────────────────────────────────────────┘
-
10-minute cooldown:
/timeout member:@User duration:10 reason:Spamming chat -
24-hour mute:
/timeout member:@User duration:1440 reason:Inappropriate behavior
-
❌ Duration must be between 1 minute and 40,320 minutes (28 days).→ Discord limits timeouts to 28 days max (40320minutes).
Immediately removes an active timeout so the member can talk again.
| Property | Value |
|---|---|
| Command Syntax | /untimeout member:<@user> [reason:<text>] |
| Who Can Use It | Members with Timeout Members (Moderate Members) permission |
| Bot Needs | Timeout Members permission + higher role |
| Where It Works | Any server text channel |
| What Discord Shows | Public Embed |
-
member(Required): The currently timed-out member. -
reason(Optional): Reason for ending the timeout early. Defaults toTimeout removed by moderator.
- Type
/untimeoutand select the command. - Select the timed-out user in
member. -
(Optional) Add a
reasonand pressEnter.
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:20 PM │
├─────────────────────────────────────────────────────────────┤
│ 🔊 Timeout Removed │
│ Timeout removed for @User (username#0000). │
│ │
│ Moderator │
│ @Moderator │
│ │
│ Reason │
│ Apologized in ticket │
└─────────────────────────────────────────────────────────────┘
-
❌ @User is not currently timed out.(Only you can see this) → That member does not have an active timeout.
Bulk-deletes between 1 and 100 recent messages from the current channel, optionally filtering by one specific user.
| Property | Value |
|---|---|
| Command Syntax | /clear amount:<1-100> [member:<@user>] |
| Who Can Use It | Members with Manage Messages permission |
| Bot Needs | Manage Messages permission |
| Where It Works | Current text channel |
| What Discord Shows | Ephemeral confirmation (Only you can see this) |
-
amount(Required): How many recent messages to scan/delete (1to100). -
member(Optional): If chosen, scans the lastamountmessages and deletes only messages sent by this member.
- Go to the channel you want to clean.
- Type
/clearand enter a number inamount(e.g.,25). -
(Optional) Pick a user in
memberif you only want to delete their messages. - Press
Enter. RookieBot will briefly showRookieBot is thinking...privately, delete the messages, and update you privately.
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:25 PM 👁️ Only you can see │
│ 🧹 Successfully cleared 25 message(s) from @Spammer! │
└─────────────────────────────────────────────────────────────┘
-
Delete the last 50 messages in chat:
/clear amount:50 -
Delete only @Troll's messages within the last 100 messages:
/clear amount:100 member:@Troll
-
❌ Please specify an amount between 1 and 100.→ Enter a number from1to100. -
❌ Failed to delete messages: ... (Discord does not permit bulk deleting messages older than 14 days).→ Discord's API blocks bots from bulk-deleting messages older than 2 weeks.
Sets or disables the slowmode message cooldown in a text channel.
| Property | Value |
|---|---|
| Command Syntax | /slowmode seconds:<0-21600> [channel:<#channel>] |
| Who Can Use It | Members with Manage Channels permission |
| Bot Needs | Manage Channels permission |
| Where It Works | Any text channel |
| What Discord Shows | Public confirmation message |
-
seconds(Required): Cooldown delay in seconds (0to turn off, up to21600= 6 hours). -
channel(Optional): Target text channel. If left blank, applies to the channel you are currently typing in.
- Type
/slowmode. - In
seconds, enter5(for 5 seconds) or0(to turn slowmode off). -
(Optional) Select a different
channel. - Press
Enter.
-
When enabling (
seconds > 0):🤖 RookieBot [APP] Today at 12:30 PM ⏱️ Slowmode set to 10s for #general. -
When disabling (
seconds = 0):🤖 RookieBot [APP] Today at 12:31 PM ✅ Slowmode disabled for #general.
Stops @everyone from sending messages in a text channel (useful during raids or announcements). Staff with explicit channel permissions can still talk.
| Property | Value |
|---|---|
| Command Syntax | /lock [channel:<#channel>] [reason:<text>] |
| Who Can Use It | Members with Manage Channels permission |
| Bot Needs | Manage Channels permission |
| Where It Works | Any text channel |
| What Discord Shows | Public Lock Embed in the locked channel + Ephemeral confirmation to you |
-
channel(Optional): Channel to lock. Defaults to your current channel. -
reason(Optional): Explanation shown inside the lock banner. Defaults toNo reason provided.
- Type
/lockin the channel you want to lock (or pick another channel inchannel). -
(Optional) Type a
reason(e.g.,Raid protection). - Press
Enter.
A. Public banner posted inside the locked channel:
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:35 PM │
├─────────────────────────────────────────────────────────────┤
│ 🔒 Channel Locked │
│ This channel has been locked by staff. │
│ Reason: Raid protection │
└─────────────────────────────────────────────────────────────┘
B. Private confirmation only you see:
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:35 PM 👁️ Only you can see │
│ 🔒 #general has been locked. │
└─────────────────────────────────────────────────────────────┘
Restores the @everyone send-message permission for a channel previously locked with /lock.
| Property | Value |
|---|---|
| Command Syntax | /unlock [channel:<#channel>] |
| Who Can Use It | Members with Manage Channels permission |
| Bot Needs | Manage Channels permission |
| Where It Works | Any text channel |
| What Discord Shows | Public Unlock Embed in target channel + Ephemeral confirmation to you |
-
channel(Optional): Channel to unlock. Defaults to the current channel.
- Type
/unlock. -
(Optional) Select
channelif unlocking a different channel. - Press
Enter.
A. Public banner posted inside the unlocked channel:
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:40 PM │
├─────────────────────────────────────────────────────────────┤
│ 🔓 Channel Unlocked │
│ This channel has been unlocked. Members can now send │
│ messages. │
└─────────────────────────────────────────────────────────────┘
B. Private confirmation only you see:
┌─────────────────────────────────────────────────────────────┐
│ 🤖 RookieBot [APP] Today at 12:40 PM 👁️ Only you can see │
│ 🔓 #general has been unlocked. │
└─────────────────────────────────────────────────────────────┘
🛡️ Security & Moderation
📩 Support, Roles & Stats
- 05. Support Tickets
- 18. Staff Applications
- 06. Roles & Auto-Roles
- 07. Welcome, Leave & Logs
- 08. Server Stats Counters
📈 Leveling & Economy
💬 Voice & Community
- 11. Temporary Voice Channels
- 12. Suggestions, Starboard & Polls
- 13. Tags, AutoResponder & Sticky
- 16. Birthdays & Celebrations
- 17. Invites & Referrals
🧰 Utilities & Premium