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

# Configure Your Server

> Provision moderation resources and review server settings.

## Initial setup

Setup provisions moderation resources and provides an interactive logging flow. Run it with an account that has the required permissions.

```text theme={null}
,setup
```

## Review the result

Check the bot role position, jail role, staff visibility, and log-channel overwrites. A channel override can block actions even when the server role appears to allow them.

## Server settings

Settings include configured roles, moderation resources, and nickname behavior. Inspect the current configuration before making changes.

```text theme={null}
,settings config
```

<CardGroup cols={1}>
  <Card title="Logging" icon="clipboard-list" href="/server-configuration/logging">
    Route moderation, message, member, and server events to staff channels.
  </Card>

  <Card title="Role Management" icon="users" href="/server-configuration/roles">
    Assign roles and configure roles for new members.
  </Card>

  <Card title="Moderation" icon="gavel" href="/security/moderation">
    Manage warnings, timeouts, bans, jail, cleanup, and moderation records.
  </Card>
</CardGroup>

## Command reference

Examples use the default comma prefix. Required inputs use angle brackets; optional inputs use square brackets. Each command notes whether it is also registered in Discord's slash menu.

<AccordionGroup>
  <Accordion title=",setup" icon="terminal">
    Create the default Semetary moderation roles and channels.

    <Note>This command is also registered in Discord’s slash menu. Select the command there to fill in named inputs.</Note>

    ### setup

    Create the default Semetary moderation roles and channels.

    ```text Prefix syntax theme={null}
    ,setup
    ```
  </Accordion>

  <Accordion title=",settings" icon="terminal">
    Configure server moderation and utility settings.

    <Note>This command is also registered in Discord’s slash menu. Select the command there to fill in named inputs.</Note>

    ### settings premiumrole

    Set the premium members role.

    ```text Prefix syntax theme={null}
    ,settings premiumrole <role>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `role` | Yes | Premium role |

    ### settings dj

    Set the music DJ role.

    ```text Prefix syntax theme={null}
    ,settings dj <role>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `role` | Yes | DJ role |

    ### settings resetcases

    Reset moderation cases.

    ```text Prefix syntax theme={null}
    ,settings resetcases
    ```

    ### settings reset

    Reset moderation configuration.

    ```text Prefix syntax theme={null}
    ,settings reset
    ```

    ### settings jailmsg

    Set a custom jail message.

    ```text Prefix syntax theme={null}
    ,settings jailmsg <message>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `message` | Yes | Jail message template |

    ### settings config

    View the server settings configuration.

    ```text Prefix syntax theme={null}
    ,settings config
    ```

    ### settings autonick

    Set the nickname assigned when members join.

    ```text Prefix syntax theme={null}
    ,settings autonick <nick>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `nick` | Yes | Nickname or 'off' |

    ### settings baserole

    Set the booster role position anchor.

    ```text Prefix syntax theme={null}
    ,settings baserole <role>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `role` | Yes | Base role |

    ### settings jail

    Set the jail channel.

    ```text Prefix syntax theme={null}
    ,settings jail <channel>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `channel` | Yes | Jail channel |

    ### settings muted

    Set the text-muted role.

    ```text Prefix syntax theme={null}
    ,settings muted <role>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `role` | Yes | Muted role |

    ### settings joinlogs

    Set the join and leave logs channel.

    ```text Prefix syntax theme={null}
    ,settings joinlogs <channel>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `channel` | Yes | Log channel |

    ### settings jailroles

    Toggle removing roles when members are jailed.

    ```text Prefix syntax theme={null}
    ,settings jailroles <setting>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `setting` | Yes | Remove roles on jail |

    ### settings jailrole

    Set the default jail role.

    ```text Prefix syntax theme={null}
    ,settings jailrole <role>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `role` | Yes | Jail role |

    ### settings googlesafetylevel

    Toggle safe search for Google commands.

    ```text Prefix syntax theme={null}
    ,settings googlesafetylevel <setting>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `setting` | Yes | Safe search |

    ### settings modlog

    Set the moderation logs channel.

    ```text Prefix syntax theme={null}
    ,settings modlog <channel>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `channel` | Yes | Moderation log channel |

    ### settings disablecustomfms

    Toggle custom Last.fm commands.

    ```text Prefix syntax theme={null}
    ,settings disablecustomfms <setting>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `setting` | Yes | Disable custom commands |

    ### settings rmuted

    Set the reaction-muted role.

    ```text Prefix syntax theme={null}
    ,settings rmuted <role>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `role` | Yes | Reaction-muted role |

    ### settings imuted

    Set the image-muted role.

    ```text Prefix syntax theme={null}
    ,settings imuted <role>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `role` | Yes | Image-muted role |

    ### settings staff

    Set or list staff roles.

    ```text Prefix syntax theme={null}
    ,settings staff <role>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `role` | Yes | Role mention, ID, name, or list |

    ### settings autoplay

    Toggle music autoplay.

    ```text Prefix syntax theme={null}
    ,settings autoplay <setting>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `setting` | Yes | Autoplay setting |
  </Accordion>

  <Accordion title=",diagnostics" icon="terminal">
    Check Semetary's bot, database, and server status.

    <Note>This command is also registered in Discord’s slash menu. Select the command there to fill in named inputs.</Note>

    ### diagnostics

    Check Semetary's bot, database, and server status.

    ```text Prefix syntax theme={null}
    ,diagnostics
    ```
  </Accordion>
</AccordionGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.