# Post Raffle to Discord

Each raffle can be posted into Discord as a raffle announcement, along with a post announcing the winners, and a post reminding the winners of that raffle on the day of mint. The bot can also create a thread, role, and/or channel for winners. Finally, the bot can also *ping* users when announcing the raffle.

In order for these features to work, you will first need to have the discord bot set up - for more info on this please see [discord-bot-setup](https://alphabot-docs.gitbook.io/alphabot/the-bot/discord-bot/discord-bot-setup "mention").

<figure><img src="https://2427238655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNHvcdxa9Rj1y1D7qamfQ%2Fuploads%2FM3Q1xz2K9nx4EhNxi8mj%2Fdiscordbot.png?alt=media&#x26;token=4e706ce8-01ad-4c4f-8b4b-eeacb9e7ddd5" alt="" width="375"><figcaption></figcaption></figure>

## Announcement channel & Ping users

You can select a channel to post the raffle announcement into. This will post an embed message into the selected channel with all information about the raffle, along with a button to enter the raffle directly from Discord, and a button to view the raffle on the website.&#x20;

As you can see in the screenshot below, on top of the embed message, a role has been tagged. This is a custom role specified using the role id in the *Ping users* field shown above.&#x20;

<figure><img src="https://2427238655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNHvcdxa9Rj1y1D7qamfQ%2Fuploads%2Fum9grqnYU7b79Ap5Elr0%2Fannouncement.png?alt=media&#x26;token=40ee3704-61bc-4084-b877-8dce184e1528" alt="" width="375"><figcaption></figcaption></figure>

## Winners channel

When the raffle finishes and winners are picked, the bot will send a message in the selected channel tagging each winner individually, along with a link to the raffle, the project's twitter, and a button to enable an additional reminder 30 minutes before the project mints (see [notifications](https://alphabot-docs.gitbook.io/alphabot/for-individuals/account-settings/notifications "mention") for more information on individual reminders).&#x20;

As you can see in the image below, one of the names does not show as a username - rather as the ID (<@9336...>). This happens when the tagged user is not in the Discord where the message is posted.

<figure><img src="https://2427238655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNHvcdxa9Rj1y1D7qamfQ%2Fuploads%2FRh4Qbf1ZCOmk0kco0P0J%2Fwinners.png?alt=media&#x26;token=f8e8d379-cf69-4745-88c5-758b8f255f9f" alt=""><figcaption></figcaption></figure>

## Mint reminder channel

When enabled, the bot will automatically remind all winners of a raffle in the selected channel on the project's mint date. A *Remind Me* is also shown that can enable an additional reminder 30 minutes before the project mints for the user who clicks on it.

<figure><img src="https://2427238655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNHvcdxa9Rj1y1D7qamfQ%2Fuploads%2Fl6eZD9LJHHloSUiai2jt%2Freminders2.png?alt=media&#x26;token=e9636086-97b9-4d58-ba90-2dd8f358f8e6" alt=""><figcaption></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://alphabot-docs.gitbook.io/alphabot/raffles/post-raffle-to-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.
