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

# Role buttons

> A message with buttons members click to give themselves roles.

## <Icon icon="gauge" size={24} /> Make a panel on the dashboard

<Steps>
  <Step title="Open the Roles tab">
    On the [dashboard](https://newt.bot/servers), pick your server and open **Roles**.
  </Step>

  <Step title="Fill in the panel">
    Give it a heading, pick a channel and tick the roles. Button text is optional.
  </Step>

  <Step title="Save">
    Newt posts the message within a few seconds.
  </Step>
</Steps>

## <Icon icon="terminal" size={24} /> Or use commands

Create the panel, then add a button for each role. The message appears when the first button is added.

<CodeGroup>
  ```plaintext Syntax theme={null}
  /rolepanel create <channel> <title> [description] [mode]
  /rolepanel addrole <panel> <role> [label] [emoji]
  ```

  ```plaintext Example theme={null}
  /rolepanel create channel:#roles title:Pick your colour mode:One role only
  /rolepanel addrole panel:Pick your colour role:@Blue emoji:🔵
  ```
</CodeGroup>

**Mode:** *Any number of roles* lets people take several. *One role only* swaps the old role for the new one, which suits colours or pronouns.

## <Icon icon="gear" size={24} /> Manage panels

<AccordionGroup>
  <Accordion title="Remove a button" icon="minus">
    ```plaintext theme={null}
    /rolepanel removerole <panel> <role>
    ```
  </Accordion>

  <Accordion title="See every panel" icon="list">
    ```plaintext theme={null}
    /rolepanel list
    ```
  </Accordion>

  <Accordion title="Delete a panel" icon="trash">
    Deletes the message too.

    ```plaintext theme={null}
    /rolepanel delete <panel>
    ```
  </Accordion>
</AccordionGroup>

## <Icon icon="circle-info" size={24} /> Good to know

* Newt's role must sit above every role on the panel.
* Up to 25 buttons per panel. Make a second panel for more.
* Up to 10 panels, or 25 with [Premium](/help/premium).
* Clicks get a private reply, so people see if something went wrong.
* Editing a panel edits the same message, so links to it keep working.

**Permission:** Manage Roles
