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

# Set Discord role queue priority

> Set a queue priority for a Discord role.

Set a queue priority for a Discord role ID.

<CodeGroup>
  ```lua Export theme={null}
  exports["easy_allowlist"]:setDiscordRolePriority(discordRoleId, priority)
  ```

  ```lua Example theme={null}
  local discordRoleId = "332962646660794880"
  exports["easy_allowlist"]:setDiscordRolePriority(discordRoleId, 30)
  ```
</CodeGroup>

### Parameters

| Name            | Data Type | Description     |
| --------------- | --------- | --------------- |
| `discordRoleId` | string    | Discord role ID |
| `priority`      | integer   | Queue priority  |


## Related topics

- [Queue](/easy-allowlist/server/queue/index.md)
- [Remove Discord role queue priority](/easy-allowlist/server/queue/remove-discord-role-queue-priority.md)
- [Set identifier queue priority](/easy-allowlist/server/queue/set-identifier-queue-priority.md)
- [Set player queue priority](/easy-allowlist/server/queue/set-player-queue-priority.md)
- [Commands usage](/easy-allowlist/commands-usage.md)
