Skip to main content
1

Understanding the Jail System

The Jail System lets moderators temporarily restrict members by placing them in a jailed role.
Jailed members lose access to normal channels and can only interact in a restricted jail channel.
This is a moderation feature that requires the bot to have Manage Roles and Manage Channels permissions.
2

System Overview

When active, the Jail System provides:
  • A dedicated jail role and restricted jail channel.
  • A jail log channel for staff to track jail/un-jail actions.
  • Automatic backup and restoration of roles (when enabled).
  • Customizable jail messages with placeholders like {user}, {moderator}, and {guild.name}.
  • Case IDs for every action stored in moderation logs.
The system is perfect for containing rulebreakers without removing them from your server.
3

Setting Up the Jail System

To start using the system, run:
-setupjail
Description: Sets up the jail role, jail channel, and jail log channel automatically.Setup Includes:
  • Creating a role named jailed.
  • Creating a restricted jail channel.
  • Creating a staff-only jail-log channel.
  • Configuring permissions across all existing channels.
4

Jailing a Member

Temporarily restrict a member with the following command:
.jail @User [reason]
  • Description: Places a member in the jail role, restricting their access.
  • Example:
    .jail @somerandomdude52 Spamming chat
    
What Happens:
  • The member is removed from normal channels.
  • Their roles are backed up.
  • The jailed role is applied.
  • A log entry is created in the jail-log channel.
  • The member is DM’d with the reason.
5

Releasing a Member

Release a jailed member using:
.unjail @User [reason]
  • Description: Removes the jail role and restores previous roles.
  • Example:
    .unjail @Aj Apologized
    
What Happens:
  • The jail role is removed.
  • Previous roles are restored.
  • A log entry is added to the jail-log channel.
  • The user is DM’d with the release reason.
6

Viewing All Jailed Members

To see all currently jailed members:
.jailed
Example Output:
Jailed Members:
Troublemaker (123456789012345678)
AnotherUser (987654321098765432)
7

Limits & Notes

⚙️ Important Notes
  • Moderators cannot jail or un-jail members with higher or equal roles.
  • The jail role must remain below the bot’s role in the hierarchy.
  • If the jail role or channels are deleted manually, rerun:
    -setupjail
    
  • Jail messages can include placeholders:
    • {user} → mentions the jailed user
    • {moderator} → displays the moderator’s name
    • {guild.name} → server name
The system requires Manage Roles and Manage Channels permissions to function properly.
8

Accessing the Jail System

The Jail System is available to all servers with Omex installed — no premium required.
Only users with the proper permissions (e.g., Manage Roles) can use jail commands.
9

Completion

You’ve successfully learned how to use the Jail System! 🎉You can now:
  • Temporarily restrict rulebreakers
  • Automatically manage jail durations and logs
  • Restore member roles after release