Skip to main content

Moderation

MJ Bot provides a full suite of moderation commands to keep your server safe and organized. Every action is logged into a case system, making it easy to track moderator activity and member history.

Commands

Core Actions

CommandDescriptionUsage
/banPermanently ban a member from the server/ban @user [reason]
/kickKick a member from the server/kick @user [reason]
/warnIssue a warning to a member/warn @user [reason]
/muteTimeout a member for a specified duration/mute @user <duration> [reason]
/unmuteRemove a timeout from a member/unmute @user [reason]
/unbanUnban a previously banned user/unban <user-id> [reason]
/softbanBan and immediately unban a member to delete their messages/softban @user [reason]

Channel Management

CommandDescriptionUsage
/purgeBulk delete messages from a channel/purge <amount> [@user]
/lockLock a channel to prevent members from sending messages/lock [#channel] [reason]
/unlockUnlock a previously locked channel/unlock [#channel]
/lockdownLock all channels in the server simultaneously/lockdown [reason]
/slowmodeSet slowmode delay on a channel/slowmode <seconds> [#channel]

Case & Warning Management

CommandDescriptionUsage
/caseView details of a specific moderation case/case <case-id>
/modlogsView all moderation cases for a member/modlogs @user
/warningsView all active warnings for a member/warnings @user
/clearwarningsClear all warnings for a member/clearwarnings @user

Extras

CommandDescriptionUsage
/temproleAssign a temporary role that auto-removes after a duration/temprole @user @role <duration>
/escalationConfigure automatic punishment escalation/escalation <threshold> <action>

Dashboard Configuration

You can configure all moderation settings from the Moderation section of the dashboard.

Roles

  • Mod Roles -- Roles that are allowed to use moderation commands such as warn, mute, kick, and purge.
  • Admin Roles -- Roles that have access to elevated commands such as ban, lockdown, and clearwarnings.

Log Channel

Set a dedicated channel where all moderation actions are logged automatically. Each log entry includes the moderator, the target member, the reason, and the case ID.

tip

It is strongly recommended to set a mod log channel so your team has a clear audit trail of every action taken.

Auto-Escalation

Auto-escalation allows you to define automatic punishments that trigger when a member reaches a certain number of warnings.

Example configuration:

Warning ThresholdAction
3 warningsMute for 1 hour
5 warningsKick
7 warningsBan
info

Escalation actions are cumulative. When a member hits a threshold, the corresponding action fires automatically in addition to the warning itself.

Case System

Every moderation action (ban, kick, warn, mute, etc.) creates a case with a unique ID. Cases store:

  • The action type
  • The moderator who performed the action
  • The target member
  • The reason provided
  • A timestamp

Use /case <id> to look up any case, or /modlogs @user to see a member's complete history.

warning

Clearing warnings with /clearwarnings removes warning records but does not delete other case types (bans, kicks, mutes). Those remain in the moderation log permanently.