> For the complete documentation index, see [llms.txt](https://bewinxed.gitbook.io/radar-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bewinxed.gitbook.io/radar-docs/bot_help/whitelist/add_role.md).

# add\_role

📝 **RADAR Documentation - Command: Add Role to Whitelist**

🤝 **Command Group: whitelist**

📝 **Command Name: add\_role**

📋 **Parameters:**

* `role` (required: True) - Which role to add to the whitelist?

📝 **Description:**

Add a role to a whitelist.

🔍 **Example Usage:**

* Add a role to the whitelist:

  ```
  !add_role @WhitelistRole
  ```

  *This command is used to add a specific role to the whitelist. After executing the command, the bot will add the mentioned role to the whitelist.*

📝 **Note:**

* This command allows you to add a role to the whitelist.
* Specify the role you want to add to the whitelist using the `role` parameter.
* Mention the role using the @mention format.
* After executing the command, the bot will check if you have the necessary permissions to perform the action.
* If you don't have the required permissions, the bot will display an error message.
* The command response will be sent as an ephemeral message visible only to you.
* After successfully adding the role to the whitelist, the bot will provide a confirmation message.
