Modules (Cogs)

Moderation

The Moderation module provides a complete set of tools for managing users: banning, kicking, muting, warnings, clearing messages, changing nicknames, and managing roles.

Enabling the Module

Open the dashboard

Dashboard → Your server → toggle Moderation

Configure moderation roles

Click Edit and add moderation roles

Save

Save changes

Important

Without configuring moderation_roles, no moderation command will work — this applies to all users, including Discord administrators. At least one role must be added to the list, and the user must have one of these roles for the commands to work.

Configuration

OptionTypeDefaultDescription
moderation_rolesrole ID list[]Roles with access to moderation commands
warning_thresholdnumber (1–10)3Warning threshold — sends a notification to logs when reached
dm_on_actionbooleantrueWhether to send a DM to the user about the moderation action
auto_delete_warnings_daysnumber0Auto-delete old warnings (0 = disabled)

Dashboard configuration

The Moderation module edit panel contains:

  • Moderation Roles — multi-select with server roles
  • Warning Threshold — slider 1–10
  • DM on Action — checkbox
  • Auto-delete Warnings — number field (days, 0 = off)

Commands

/ban

Bans a user from the server.

ParameterRequiredDescription
targetUser to ban
reasonReason (max 512 characters)

/kick

Kicks a user from the server.

ParameterRequiredDescription
targetUser to kick
reasonReason (max 512 characters)

/mute

Mutes a user (Discord timeout).

ParameterRequiredDescription
targetUser to mute
durationTime in minutes (1–40320, default 10)
reasonReason (max 512 characters)

Timeout Limit

40320 minutes = 28 days (maximum Discord timeout limit).

/unmute

Removes the mute (timeout) from a user.

ParameterRequiredDescription
targetUser to unmute
reasonReason (max 512 characters)

/warn

Issues a warning to a user (saved in the database).

ParameterRequiredDescription
targetUser to warn
reasonReason (max 512 characters)

After issuing a warning:

  • The warning is saved in the warnings table
  • The user receives a DM (if dm_on_action is enabled)
  • The bot checks if the warning_threshold has been reached
  • If so — sends a notification to the moderation log channel

/warnings

Displays a user's warning history (last 10).

ParameterRequiredDescription
targetUser to check

/clear

Deletes messages from the current channel.

ParameterRequiredDescription
amountNumber of messages (1–100)

/setnick

Changes a user's nickname.

ParameterRequiredDescription
targetUser
nicknameNew nickname (empty = reset to username)

Nickname Limit

Discord limits nicknames to 1–32 characters.

/role add

Assigns a role to a user.

ParameterRequiredDescription
targetUser
roleRole to assign

/role remove

Removes a role from a user.

ParameterRequiredDescription
targetUser
roleRole to remove

Role Hierarchy

All commands respect the Discord role hierarchy:

  • A moderator cannot perform an action on a user with a higher role
  • The bot cannot manage roles higher than its own

If the hierarchy doesn't allow the action, the bot returns a "hierarchy_error".

/slowmode

Sets slowmode on a channel with optional auto-remove timer.

ParameterRequiredDescription
secondsSlowmode delay (0–21600, 0 disables)
durationAuto-remove after X minutes (optional)
channelTarget channel (default: current)

/userinfo

Shows detailed information about a server member.

ParameterRequiredDescription
memberMember to inspect (default: yourself)

Displays: ID, nickname, account creation date, join date, boost status, roles list.

/serverinfo

Shows detailed information about the current server.

Displays: owner, creation date, member count (humans/bots), channels, roles, boost tier, emojis, verification level.

Channel Lock

The Channel Lock feature allows moderators to restrict a channel so that only slash commands, bot messages, and whitelisted roles are allowed. Regular messages are automatically deleted.

How it works

Lock the channel

A moderator uses /lockdown #channel or configures the lock in the dashboard

Automatic filtering

Any message sent by a regular user in the locked channel is deleted

Slash commands still work

Slash commands work normally (they don't go through the message filter)

Exemptions

Bots and whitelisted roles can be exempted

Commands

/lockdown

Locks a channel.

ParameterRequiredDescription
channelChannel to lock
allowed_commandsComma-separated list of allowed commands (informational)
allow_botsAllow bot messages (default: true)
on_violationWhat happens on violation: Silent / Reply / DM

/unlock

Unlocks a previously locked channel.

ParameterRequiredDescription
channelChannel to unlock

Violation modes

ModeBehavior
SilentMessage deleted without any notification
ReplyMessage deleted + bot replies with info (auto-deletes after 5s)
DMMessage deleted + user receives a DM explaining why

Dashboard configuration

In the Moderation edit panel, there's a Channel Locks section:

  • List of locked channels as cards
  • Each card shows: channel name, allowed commands, bot permission, whitelisted roles, violation mode
  • Add Lock button opens an editor with:
    • Channel selector
    • Allowed commands (comma-separated, informational for users)
    • Allow bots toggle
    • Whitelisted roles (multi-select)
    • Violation mode (3 options)
    • Custom reply/DM message (optional)

Allowed Commands

The allowed_commands field is informational — it tells users what commands are available. All slash commands always work in locked channels regardless of this setting (because slash commands are interactions, not messages).

DM to User

When dm_on_action is enabled, the bot sends an embed to the user before performing the action:

  • Information about the action type (banned from / kicked from / muted in / warned in)
  • Server name
  • Duration (for mute)
  • Reason (if provided)

Best Effort DM

The DM is sent "best effort" — if the user has DMs disabled or has blocked the bot, the action will still execute.

Auto-delete Warnings

If auto_delete_warnings_days > 0, every 6 hours the bot automatically deletes warnings older than the specified number of days. Useful for maintaining current history and automatically "expiring" old warnings.

Logging

Every moderation action is logged by the Logs module under the moderation category. Logs contain:

  • Action type (ban, kick, mute, warn, clear, setnick, role_add, role_remove)
  • Target (target user)
  • Moderator (who performed it)
  • Reason

Tips

Best Practices

  • Set warning_threshold to 3–5 to receive notifications about problematic users
  • Enable dm_on_action so users know why they were punished
  • Use /warnings before taking more serious actions (ban/kick)
  • Configure moderation logs to have a full audit trail