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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bewinxed.gitbook.io/radar-docs/bot_help/whitelist/add_role.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
