# Sticky Roles

This feature 'sticks' roles to users, so that if they leave the server and rejoin then the role will be reapplied to them. This is especially useful for roles such as 'Wager Blacklist' roles.

#### OBJECTIVES

* [Create a Sticky Role](#create-a-sticky-role)
* [View the existing sticky roles in your Discord server](#view-existing-sticky-roles)
* [Delete a Sticky Role](#delete-sticky-roles)

<figure><img src="/files/s5SINTfMLuSZBLhffU0G" alt=""><figcaption></figcaption></figure>

#### REQUIREMENTS

**Premium Tier** and **Deluxe Tier** subscriptions have full functionality access to this feature.&#x20;

## Create a Sticky Role&#x20;

Enabling our sticky-roles system for a role is really easy! Once you have enabled the module, you can simply run [`/stickyroles create`](/commands/stickyroles/create.md) and then select the role. Make sure the bot is above the role, so it can give the role it's intended to give.

{% hint style="warning" %}
The bot is at risk of being quarantined by security bots if you have restrictive verification systems setup (such as Wick's captcha verification).
{% endhint %}

## View existing Sticky Roles

To view all of the existing sticky roles in the Discord Server, run the [`/stickyroles list`](/commands/stickyroles/list.md) command. A list of all of the sticky roles in the Discord server will be sent in response.

{% hint style="info" %}
The `Cached Users` field for the role shows the number of users who have left the server with the role and will be re-given the role if they rejoin the server.
{% endhint %}

## Delete Sticky Roles

To delete a sticky role, run the [`/stickyroles delete`](/commands/stickyroles/delete.md) command. This means that the role will no longer be re-added to members who joined and previously had the role.

{% hint style="danger" %}
**This action is irreversible. Make sure to select the intended role, as our support cannot recover deleted Sticky Roles!**
{% endhint %}

<figure><img src="/files/w0cNUBfF7mI2vaNabIc6" alt=""><figcaption><p><a href="https://zap-hosting.com/deluxe"><strong>Click here to be redirected to our affiliate link!</strong></a></p></figcaption></figure>


---

# 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://docs.elyxir.dev/features/stickyroles.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.
