> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zynrax.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Moderation

> Powerful and efficient moderation tools to keep your community safe and organized.

Zynrax provides a comprehensive suite of moderation commands designed for speed and reliability. From basic actions like kicking and banning to bulk role management and channel resets, everything is built to help you maintain order with ease.

## Core Moderation

Essential commands for daily server discipline.

### <Icon icon="gavel" /> Ban User

Remove a member permanently from the server.

<CodeGroup>
  ```bash Syntax theme={null}
  ,ban (member) [reason]
  ```

  ```bash Example theme={null}
  ,ban @Montage Trolling
  ```
</CodeGroup>

### <Icon icon="unlock-keyhole" /> Unban User

Restore a member's access to the server.

<CodeGroup>
  ```bash Syntax theme={null}
  ,unban (member) [reason]
  ```

  ```bash Example theme={null}
  ,unban 371434681784205312 Appeal accepted
  ```
</CodeGroup>

### <Icon icon="users-slash" /> Unban All

Clear the entire server ban list at once.

<CodeGroup>
  ```bash Syntax theme={null}
  ,unbanall
  ```

  ```bash Example theme={null}
  ,unbanall
  ```
</CodeGroup>

### <Icon icon="user-minus" /> Kick

Instantly remove a member from the server.

<CodeGroup>
  ```bash Syntax theme={null}
  ,kick (member) [reason]
  ```

  ```bash Example theme={null}
  ,kick @Montage Spam
  ```
</CodeGroup>

### <Icon icon="comment-slash" /> Mute (Timeout)

Temporarily restrict a user's ability to speak or interact using Discord's timeout system.

<CodeGroup>
  ```bash Syntax theme={null}
  ,mute (member) (duration) [reason]
  ```

  ```bash Example theme={null}
  ,mute @Montage 1h Spamming
  ```
</CodeGroup>

<Info>
  Durations can be `s` (seconds), `m` (minutes), `h` (hours), or `d` (days). Max duration is 28 days.
</Info>

### <Icon icon="comment" /> Unmute

Remove a timeout from a member.

<CodeGroup>
  ```bash Syntax theme={null}
  ,unmute (member)
  ```

  ```bash Example theme={null}
  ,unmute @Montage
  ```
</CodeGroup>

### <Icon icon="comments" /> Unmute All

Lift all active timeouts in the server simultaneously.

<CodeGroup>
  ```bash Syntax theme={null}
  ,unmuteall
  ```

  ```bash Example theme={null}
  ,unmuteall
  ```
</CodeGroup>

### <Icon icon="triangle-exclamation" /> Warn User

Keep track of member violations. Zynrax automatically applies a **timeout** if a user reaches 4+ warnings.

<CodeGroup>
  ```bash Syntax theme={null}
  ,warn (member) [reason]
  ```

  ```bash Example theme={null}
  ,warn @Montage Bad language
  ```
</CodeGroup>

### <Icon icon="eraser" /> Clear Warnings

Remove all warnings from a specific member.

<CodeGroup>
  ```bash Syntax theme={null}
  ,clearwarns (member)
  ```

  ```bash Example theme={null}
  ,clearwarns @Montage
  ```
</CodeGroup>

## Message Management

Tools for cleaning chat clutter and auditing deleted content.

### Purge Engine

Delete large amounts of messages (up to 999) with specialized filters.

<AccordionGroup>
  <Accordion defaultOpen title="Basic Purge" icon="broom">
    <CodeGroup>
      ```bash Syntax theme={null}
      ,purge (amount)
      ```

      ```bash Example theme={null}
      ,purge 50
      ```
    </CodeGroup>
  </Accordion>

  <Accordion defaultOpen title="User Purge" icon="user-gear">
    <CodeGroup>
      ```bash Syntax theme={null}
      ,purge user @user [amount]
      ```

      ```bash Example theme={null}
      ,purge user @Montage 100
      ```
    </CodeGroup>
  </Accordion>

  <Accordion defaultOpen title="Advanced Filters" icon="filter">
    Deep clean specific types of content:

    * **images**: Messages containing images or attachments.
    * **embeds**: Messages with rich embeds.
    * **files**: Messages with any uploaded file.
    * **emoji**: Messages containing custom emojis.
    * **contains \[text]**: Messages containing specific keywords.
    * **reactions**: Removes all reactions from recent messages.

    <CodeGroup>
      ```bash Syntax theme={null}
      ,purge (filter) [amount]
      ```

      ```bash Example theme={null}
      ,purge images 50
      ,purge contains scam
      ,purge reactions 10
      ```
    </CodeGroup>
  </Accordion>

  <Accordion title="Bot Purge" icon="robot">
    Quickly remove messages sent by bots.

    <CodeGroup>
      ```bash Syntax theme={null}
      ,pb [amount]
      ```

      ```bash Example theme={null}
      ,pb 20
      ```
    </CodeGroup>
  </Accordion>
</AccordionGroup>

### Snipe Commands

View content that was recently removed from the channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,snipe
  ```

  ```bash Example theme={null}
  ,snipe
  ```
</CodeGroup>

<Info>
  The `snipe` command retrieves the last deleted message, including its author, content, and any attachments.
</Info>

## Channel Control

Management tools for channel visibility and structure.

### <Icon icon="lock" /> Lock Channel

Disable sending messages for @everyone in the current channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,lock
  ```

  ```bash Example theme={null}
  ,lock
  ```
</CodeGroup>

### <Icon icon="unlock" /> Unlock Channel

Enable sending messages for @everyone in the current channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,unlock
  ```

  ```bash Example theme={null}
  ,unlock
  ```
</CodeGroup>

### <Icon icon="eye-slash" /> Hide Channel

Make the current channel invisible to @everyone.

<CodeGroup>
  ```bash Syntax theme={null}
  ,hide
  ```

  ```bash Example theme={null}
  ,hide
  ```
</CodeGroup>

### <Icon icon="eye" /> Unhide Channel

Make the current channel visible to @everyone again.

<CodeGroup>
  ```bash Syntax theme={null}
  ,unhide
  ```

  ```bash Example theme={null}
  ,unhide
  ```
</CodeGroup>

### <Icon icon="clock" /> Slowmode

Limit how often users can send messages.

<CodeGroup>
  ```bash Syntax theme={null}
  ,slowmode (seconds)
  ```

  ```bash Example theme={null}
  ,slowmode 5
  ```
</CodeGroup>

<Note>
  Use `,unslowmode` to quickly remove any active slowmode.
</Note>

<AccordionGroup>
  <Accordion defaultOpen title="Bulk Channel Actions" icon="layer-group">
    Apply permissions across the entire server instantly:

    * **lockall**: Disables `send_messages` for @everyone in every channel.
    * **unlockall**: Re-enables `send_messages` for @everyone in every channel.
    * **hideall**: Disables `view_channel` for @everyone in every channel.
    * **unhideall**: Re-enables `view_channel` for @everyone in every channel.

    <CodeGroup>
      ```bash Syntax theme={null}
      ,lockall
      ,unlockall
      ,hideall
      ,unhideall
      ```

      ```bash Example theme={null}
      ,lockall
      ,unlockall
      ,hideall
      ,unhideall
      ```
    </CodeGroup>

    <Important>
      Bulk channel actions require your role to be **strictly above** the bot's top role to prevent unauthorized mass changes.
    </Important>
  </Accordion>
</AccordionGroup>

### <Icon icon="explosion" /> Nuke Channel

Completely delete and clone the current channel, wiping its message history.

<CodeGroup>
  ```bash Syntax theme={null}
  ,nuke
  ```

  ```bash Example theme={null}
  ,nuke
  ```
</CodeGroup>

### <Icon icon="copy" /> Clone Channel

Duplicate a specific channel with its exact permissions and settings.

<CodeGroup>
  ```bash Syntax theme={null}
  ,clone (channel)
  ```

  ```bash Example theme={null}
  ,clone #general
  ```
</CodeGroup>

## Voice Moderation

Manage members and accessibility of voice channels throughout your server.

### <Icon icon="user-minus" /> Voice Kick

Remove a member from their current voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice kick (member)
  ```
</CodeGroup>

### <Icon icon="users-slash" /> Voice Kick All

Disconnect every member from your current voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice kickall
  ```
</CodeGroup>

### <Icon icon="microphone-slash" /> Voice Mute

Mute a specific member in their voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice mute (member)
  ```
</CodeGroup>

### <Icon icon="microphone" /> Voice Unmute

Restore a member's ability to speak in their voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice unmute (member)
  ```
</CodeGroup>

### <Icon icon="volume-xmark" /> Mute All

Mute every member in your current voice channel simultaneously.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice muteall
  ```
</CodeGroup>

### <Icon icon="volume-high" /> Unmute All

Unmute every member in your current voice channel simultaneously.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice unmuteall
  ```
</CodeGroup>

### <Icon icon="headphones" /> Voice Deafen

Deafen a member so they cannot hear in the voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice deafen (member)
  ```
</CodeGroup>

### <Icon icon="ear-listen" /> Voice Undeafen

Restore a member's ability to hear in the voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice undeafen (member)
  ```
</CodeGroup>

### <Icon icon="users-gear" /> Deafen All

Deafen all members in your current voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice deafenall
  ```
</CodeGroup>

### <Icon icon="users" /> Undeafen All

Undeafen all members in your current voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice undeafenall
  ```
</CodeGroup>

### <Icon icon="person-walking-arrow-right" /> Move Member

Move a member to a different voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice move (member) (channel)
  ```
</CodeGroup>

### <Icon icon="truck-fast" /> Move All

Move every member in your current channel to another specified channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice moveall (channel)
  ```
</CodeGroup>

### <Icon icon="magnet" /> Pull Member

Instantly pull a member from any channel to your current voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice pull (member)
  ```
</CodeGroup>

### <Icon icon="arrows-down-to-people" /> Pull All

Pull every member from all voice channels in the server to yours.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice pullall (channel)
  ```
</CodeGroup>

### <Icon icon="lock" /> Voice Lock

Restrict access to your current channel so no more users can join.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice lock
  ```
</CodeGroup>

### <Icon icon="unlock" /> Voice Unlock

Remove the join restriction from your voice channel.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice unlock
  ```
</CodeGroup>

### <Icon icon="eye-slash" /> Voice Private

Make your current channel invisible and non-joinable for @everyone.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice private
  ```
</CodeGroup>

### <Icon icon="eye" /> Voice Public

Make your channel visible and joinable for the entire server.

<CodeGroup>
  ```bash Syntax theme={null}
  ,voice unprivate
  ```
</CodeGroup>

<br />

## Role Management

Zynrax offers the most powerful role management system, allowing for both individual and bulk assignments.

### <Icon icon="user-tag" /> Assign or Remove Role

Toggle a specific role for a member.

<CodeGroup>
  ```bash Syntax theme={null}
  ,role (member) (role)
  ```

  ```bash Example theme={null}
  ,role @Montage @VIP
  ```
</CodeGroup>

### <Icon icon="plus" /> Create Role

Create a new role in your server.

<CodeGroup>
  ```bash Syntax theme={null}
  ,role create (name)
  ```

  ```bash Example theme={null}
  ,role create Moderators
  ```
</CodeGroup>

### <Icon icon="trash" /> Delete Role

Delete an existing role from your server.

<CodeGroup>
  ```bash Syntax theme={null}
  ,role delete (role)
  ```

  ```bash Example theme={null}
  ,role delete @Moderators
  ```
</CodeGroup>

### <Icon icon="pen" /> Rename Role

Change the name of an existing role.

<CodeGroup>
  ```bash Syntax theme={null}
  ,role rename (role) (name)
  ```

  ```bash Example theme={null}
  ,role rename @VIP Premium
  ```
</CodeGroup>

### Bulk Role Operations

Assign or remove roles from entire groups of users at once.

<AccordionGroup>
  <Accordion defaultOpen title="Bulk Add" icon="user-plus">
    Assign a role to large groups of users simultaneously:

    * **role all**: Gives the role to every single member.
    * **role humans**: Gives the role only to human accounts.
    * **role bots**: Gives the role to all bot accounts.
    * **role unverified**: Gives the role to members who do not have an avatar.

    <CodeGroup>
      ```bash Syntax theme={null}
      ,role all (role)
      ,role humans (role)
      ,role bots (role)
      ,role unverified (role)
      ```

      ```bash Example theme={null}
      ,role all @Member
      ,role humans @Member
      ,role bots @Bots
      ,role unverified @New
      ```
    </CodeGroup>
  </Accordion>

  <Accordion defaultOpen title="Bulk Remove" icon="user-minus">
    Strip a role from large groups of users simultaneously:

    * **removerole all**: Removes the role from every single member.
    * **removerole humans**: Removes the role only from human accounts.
    * **removerole bots**: Removes the role from all bot accounts.

    <CodeGroup>
      ```bash Syntax theme={null}
      ,removerole all (role)
      ,removerole humans (role)
      ,removerole bots (role)
      ```

      ```bash Example theme={null}
      ,removerole all @Muted
      ,removerole humans @Muted
      ,removerole bots @Muted
      ```
    </CodeGroup>
  </Accordion>
</AccordionGroup>

## Utility Moderation

Formatting and asset management tools.

### <Icon icon="square-minus" /> Delete Emoji

Remove a custom emoji from the server.

<CodeGroup>
  ```bash Syntax theme={null}
  ,delemoji [emoji]
  ```

  ```bash Example theme={null}
  ,delemoji :trash:
  ```
</CodeGroup>

### <Icon icon="note-sticky" /> Delete Sticker

Remove a sticker from the server by replying to it.

<CodeGroup>
  ```bash Syntax theme={null}
  ,delsticker [reply]
  ```

  ```bash Example theme={null}
  ,delsticker
  ```
</CodeGroup>

### <Icon icon="image" /> Set Role Icon

Apply an image as an icon for a specific role (requires server boosts).

<CodeGroup>
  ```bash Syntax theme={null}
  ,roleicon (role) [icon]
  ```

  ```bash Example theme={null}
  ,roleicon @VIP https://link.to/icon.png
  ```
</CodeGroup>

### <Icon icon="magnifying-glass-plus" /> Enlarge Emoji

Send a high-quality, enlarged version of any emoji.

<CodeGroup>
  ```bash Syntax theme={null}
  ,enlarge (emoji)
  ```

  ```bash Example theme={null}
  ,enlarge :smile:
  ```
</CodeGroup>

### <Icon icon="gears" /> Server Customization

Manage nicknames and basic server identity.

<CodeGroup>
  ```bash Syntax theme={null}
  ,nick (member) [new_nick]
  ```

  ```bash Example theme={null}
  ,nick @Montage Owner
  ```
</CodeGroup>
