Moderation
Sanctions and channel management.
The required permission is shown on each command.
Overview
| Command | Description |
|---|---|
/ban | Ban Members
Ban a member (optional reason and message deletion). |
/unban | Ban Members
Unban a user. |
/kick | Kick Members
Kick a member from the server. |
/mute | Moderate Members
Mute a member (duration + reason) or remove their mute. |
/warn | Moderate Members
Warn a member. Automatic mute at 3 warns, ban at 5 (default). |
/unwarn | Moderate Members
Remove a warning from a member. |
/sanctions | Moderate Members
View a member's sanction history (warns, mutes, kicks, bans) and delete one by ID. |
/clear | Manage Messages
Delete messages in the channel (1–100, optional member filter). |
/slowmode | Manage Channels
Set a channel's slowmode (0 to disable, max 6 h). |
/banBan a member
/ban membre:@User raison:Spam jours:1Permanently bans a member from the server. They automatically receive a DM with the server name and reason before being banned. The sanction is logged in their history and posted in the moderation log channel if configured.
Options
| Option | Description |
|---|---|
membre required | The member to ban |
raison optional | Reason shown in logs and the DM |
jours optional, 0-7 | Deletes messages from the last X days |
- You must have the Ban Members permission
- Your role must be higher than the target's in the hierarchy
- The bot must be able to ban the target (bot role higher than the target)
- "Hierarchy" → Your role is too low, or the target is admin
- "I cannot ban this member" → The bot's role is too low
/kickKick a member
/kick membre:@User raison:Inappropriate behaviorRemoves the member from the server. They can come back with an invite. They receive a DM with the reason before being kicked. The sanction is logged.
Options
| Option | Description |
|---|---|
membre required | The member to kick |
raison optional | Reason shown in logs and the DM |
- Kick Members permission required
- Your role must be higher than the target's
Difference with /ban
The member can return to the server with an invite. Use /kick for a serious warning without permanently excluding them.
/muteTimeout a member
/mute membre:@User durée:30m raison:FloodingApplies a Discord timeout to the member — they can no longer send messages, join voice channels, or react for the chosen duration. Without a duration, removes the existing timeout.
Options
| Option | Description |
|---|---|
membre required | The member to mute |
durée optional | Formats: 30s, 10m, 2h, 1d — max 28 days, min 5 seconds |
raison optional |
Removing a timeout
Run /mute membre:@User without a duration to immediately remove the timeout.
- Timeout Members permission required
- The bot must be able to moderate the target
/unbanUnban a user
/unbanOpens a form where you enter the Discord ID of the user to unban along with an optional reason.
How to find the ID
1. Enable Developer Mode in Discord settings
2. Go to Server Settings → Bans
3. Right-click the user → Copy ID
The user must currently be banned from the server. Ban Members permission required.
/warnWarn a member
/warn membre:@User raison:Rule violationRecords a warning in the member's history. The member receives a notification. Warns can be viewed with /sanctions.
Options
membre(required)raison(optional)
Tip: Use /warn for minor infractions before moving on to /mute or /kick. A warn history is useful to justify heavier sanctions.
/unwarnRemove a warning
/unwarn membre:@User id:3Deletes a warning from a member's history. Without id, removes the most recent one.
Options
membre(required)id(optional) — number of the warn to remove (in/sanctions, warnW3matchesid:3)
Requirement: Moderate Members permission, and role hierarchy respected.
/sanctionsSanction history
/sanctionsShows the full sanction history for a member: warns, mutes, kicks, bans, and unbans. You can filter by type.
Usage
1. Type /sanctions
2. Select the member from the menu
3. Filter by type if needed (All / Warns / Mutes / Kicks / Bans)
Requirement: Timeout Members permission required.
/clearDelete messages
/clear montant:50 membre:@UserBulk-deletes messages from the channel. If membre is specified, only their messages are deleted among the last messages scanned.
Options
| Option | Description |
|---|---|
montant required | 1 to 100 messages |
membre optional | Filter by author |
Discord limit
Cannot delete messages older than 14 days. Discord blocks this natively.
/slowmodeSlow mode
/slowmode secondes:10Sets a minimum delay between each message in the current channel. Useful to calm down a busy channel.
Values
0→ Disables slowmode1to21600seconds (max 6 hours)
Quick examples: 5 = 5s, 30 = 30s, 3600 = 1h
/automodAutomatic moderation
/automodLets you configure a list of banned words each with its own sanction. When a member sends a message containing a banned word, the sanction is applied automatically.
Configuration
1. Type /automod
2. Add words with their sanction (warn / mute / kick / ban)
3. Each word can have its own independent sanction
Available sanctions per word
- Warn — logged warning
- Mute — temporary timeout
- Kick — removal
- Ban — ban
Web panel: section « Automod » — the same setting from your browser.
