Skip to main content

Moderation

Set up raze’s moderation systems — jail, manager approval, mod roles, owner notifications, and invoke messages.

Overview

raze’s moderation toolkit covers bans, kicks, timeouts, warnings, purges, role management, lockdowns, and more. Most commands work out of the box — no setup needed. This page covers the systems that require configuration: jail and invoke messages.

Jail Setup

Jail removes all of a member’s roles and locks them in a dedicated channel until a moderator unjails them. Their roles are saved and fully restored on unjail.
1

Run the setup command

Automatically creates a Jailed role and #jail channel with the correct permissions.
2

Jail a member

All roles are stripped and the Jailed role is applied.
3

Unjail a member

The jail role is removed and all original roles are restored.

Manual configuration

If you’d rather use an existing role or channel instead of running ;jail setup:

Setting Staff Roles

Use Fake Permissions to grant moderation access to a role without giving Discord permissions. Staff will be able to use raze’s moderation commands only.

Invoke Messages

Customize the response raze sends when a moderation action is taken, and optionally send a DM to the punished member.
The message parameter accepts raw text or a full embed code with dynamic variables. See the Invoke page for all available variables and detailed setup.

Manager

When a manager is configured and enabled, every moderation action (ban, kick, timeout, tempban, softban, warn) is paused before it executes. The manager receives a DM with an Approve or Reject button.
  • Approve — the action executes immediately.
  • Reject — the action is cancelled and the moderator is notified in the original channel.
If the manager cannot be DM’d, the action proceeds without waiting for approval.
1

Set the manager

Sets the member who will receive approval DMs and enables approval immediately.
2

Toggle on or off

Enables or disables the approval requirement without removing the configured manager.
Requires Administrator permission or a raze fake-permission grant.

Notifier

When enabled, the server owner receives a DM every time a moderation action is taken — regardless of who ran the command. Covers: ban, unban, kick, timeout, untimeout, tempban, softban, warn
Run again to disable. The owner is never notified if they are the one running the command.
Requires Administrator permission or a raze fake-permission grant.

Mod Roles

Mod roles let a role use moderation commands even when members lack the underlying Discord permission and are not above the target in the role hierarchy. Useful for giving lower staff the ability to moderate members at the same tier without promoting them in Discord’s role list. Mod roles can be scoped to specific commands. A role with no command scope can use all mod commands.
1

Add a mod role (all commands)

2

Add a mod role scoped to specific commands

Valid command names: ban, hardban, kick, mute, softban, tempban, timeout, untimeout, unmute, warn
mute and unmute are aliases for timeout and untimeout.
Requires Administrator permission or a raze fake-permission grant.