> ## 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.

# Autorole

> Automatically assign roles to members when they join the server.

# Autorole

> Automatically assign roles to members when they join the server.

## How it works

Autorole assigns roles the moment a member joins. You can configure separate roles for all members, humans only, and bots only.

## All members

Assign a role to every member — human or bot — on join.

<Tabs>
  <Tab title="Add">
    ```bash theme={null} theme={null}
    ;autorole all add (@role)
    ```

    ```bash theme={null} theme={null}
    ;autorole all add @Member
    ```
  </Tab>

  <Tab title="Remove">
    ```bash theme={null} theme={null}
    ;autorole all remove (@role)
    ```

    ```bash theme={null} theme={null}
    ;autorole all remove @Member
    ```
  </Tab>

  <Tab title="Clear">
    Remove all autoroles configured for all members.

    ```bash theme={null} theme={null}
    ;autorole all clear
    ```
  </Tab>

  <Tab title="List">
    ```bash theme={null} theme={null}
    ;autorole all list
    ```
  </Tab>
</Tabs>

## Humans

Assign a role only to human members on join.

<Tabs>
  <Tab title="Add">
    ```bash theme={null} theme={null}
    ;autorole humans add (@role)
    ```

    ```bash theme={null} theme={null}
    ;autorole humans add @Members
    ```
  </Tab>

  <Tab title="Remove">
    ```bash theme={null} theme={null}
    ;autorole humans remove (@role)
    ```

    ```bash theme={null} theme={null}
    ;autorole humans remove @Members
    ```
  </Tab>

  <Tab title="Clear">
    ```bash theme={null} theme={null}
    ;autorole humans clear
    ```
  </Tab>

  <Tab title="List">
    ```bash theme={null} theme={null}
    ;autorole humans list
    ```
  </Tab>
</Tabs>

## Bots

Assign a role only to bots on join.

<Tabs>
  <Tab title="Add">
    ```bash theme={null} theme={null}
    ;autorole bots add (@role)
    ```

    ```bash theme={null} theme={null}
    ;autorole bots add @Bots
    ```
  </Tab>

  <Tab title="Remove">
    ```bash theme={null} theme={null}
    ;autorole bots remove (@role)
    ```

    ```bash theme={null} theme={null}
    ;autorole bots remove @Bots
    ```
  </Tab>

  <Tab title="Clear">
    ```bash theme={null} theme={null}
    ;autorole bots clear
    ```
  </Tab>

  <Tab title="List">
    ```bash theme={null} theme={null}
    ;autorole bots list
    ```
  </Tab>
</Tabs>
