> For the complete documentation index, see [llms.txt](https://docs.sxbot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sxbot.io/giveaways/how-to-restrict-giveaways-to-specific-roles.md).

# How to Restrict Giveaways to Specific Roles

Here is a step-by-step guide for setting up your Sx Bot to restrict giveaways to specific roles in Discord.

### How to Configure Role-Based Restrictions for Giveaways

1. Go to [https://sxbot.io](https://sxbot.io/) and click on “Add to Discord” to invite the bot to your server.
2. Create a giveaway with role restrictions.

   **Example:`/giveaway start 1h PrizeName @Level_10`**
3. All done! Now, only users with the specified roles will be eligible to participate in your giveaways.

<figure><img src="/files/3UB350YrSIPQflL43Dzx" alt="Discord giveaway with role restriction example" width="369"><figcaption><p>Discord giveaway with role restriction example</p></figcaption></figure>
