# 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="https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2F56rWLJURnYrbCK58Zo5d%2Fimage.png?alt=media&#x26;token=349051d4-6c9b-4d38-b071-a369f030fca3" alt="Discord giveaway with role restriction example" width="369"><figcaption><p>Discord giveaway with role restriction example</p></figcaption></figure>
