> For the complete documentation index, see [llms.txt](https://alphabot-docs.gitbook.io/alphabot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alphabot-docs.gitbook.io/alphabot/raffles/entry-requirements/connect-discord.md).

# Connect Discord

The `Connect Discord` option creates a requirement on the raffle forcing users to have connected their Discord account to Alphabot, so that their discord id and name can be returned to the raffle creator after the raffle is complete. It is also a requirement if you intend to connect the raffle to the Discord bot.

A raffle creator can also require users to have joined a certain Discord server, as well as optionally having a certain role or roles within that server. Additionally, the creators can also exclude users who are in a certain Discord server (and with a specific role). When they register for the raffle, Alphabot will check using the Discord API if the user has joined that server and/or has the required role.

Discord membership and roles are re-checked at the time of drawing, as long as our Discord bot is in the server that you're checking for.&#x20;

### Multiple Roles & Role Multiplier

As many Discord server requirements as needed can be added with the `+ Add Discord Requirement` button below the role fields, and are treated as an "AND" requirement. If "OR" is needed for multiple roles in a server simply add more roles into that same server's requiremen&#x74;*.*

<figure><img src="/files/3NPVmFvhzHgTPCx0grAl" alt=""><figcaption></figcaption></figure>

Role Multipliers are easy too! When adding the role to the requirement, simply add a number in the `Multiplier` field for how many entries users with that role should get! The user will receive these extra entries for whichever role gives them the most. If you enable `Stacking`, the additional entries from each role will stack if the user is eligible for multiple roles.&#x20;

### How to Copy Discord IDs

![Retrieving a Role ID in Discord](/files/A8xn6lf0ku65ZEjHZGIB)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://alphabot-docs.gitbook.io/alphabot/raffles/entry-requirements/connect-discord.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.
