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

# Media-Only Channels

> Enforce image and media attachments in specific channels with bypass roles.

# Media Only Channels

<Badge variant="elite">Tier 1: Elite</Badge>

> Restrict designated channels so members can only post messages containing image, video, or file attachments, with role bypass options for staff.

***

## Command Overview

| Command  | Aliases | Syntax                            | Description                                  | Permissions |
| :------- | :------ | :-------------------------------- | :------------------------------------------- | :---------- |
| `.media` | —       | `.media <subcommand> <arguments>` | Manage media-only restrictions and bypasses. | ManageGuild |

***

## Subcommands Reference

### Channel Management

| Subcommand       | Syntax                             | Description                                   | Example                        |
| :--------------- | :--------------------------------- | :-------------------------------------------- | :----------------------------- |
| `channel add`    | `.media channel add <#channel>`    | Designates a channel as media-only            | `.media channel add #media`    |
| `channel remove` | `.media channel remove <#channel>` | Removes media-only restriction from a channel | `.media channel remove #media` |
| `channel reset`  | `.media channel reset`             | Clears all media-only channels in the server  | `.media channel reset`         |

### Bypass Roles & Config

| Subcommand     | Syntax                      | Description                                          | Example                        |
| :------------- | :-------------------------- | :--------------------------------------------------- | :----------------------------- |
| `bypass add`   | `.media bypass add <@role>` | Allows a role to post regular text in media channels | `.media bypass add @Moderator` |
| `bypass view`  | `.media bypass view`        | Shows current media bypass roles                     | `.media bypass view`           |
| `bypass reset` | `.media bypass reset`       | Removes all media bypass roles                       | `.media bypass reset`          |
| `config`       | `.media config`             | Displays full media configuration dashboard          | `.media config`                |

***

## Configuration Examples

<Tabs>
  <Tab title="Add Media Channel">
    ```bash theme={null} theme={null}
    .media channel add #gallery
    .media channel add #memes
    ```
  </Tab>

  <Tab title="Add Bypass Role">
    ```bash theme={null} theme={null}
    .media bypass add @Staff
    ```
  </Tab>

  <Tab title="View Config">
    ```bash theme={null} theme={null}
    .media config
    ```
  </Tab>
</Tabs>
