# Giveaways

Run Discord giveaways from the FiveDash panel: pick the prizes, channel and duration. The bot takes the entries, draws and announces who won.

Source: https://fivedash.fivex.gg/docs/en/discord/giveaways

Giveaways post a giveaway in a Discord channel, with a button to enter. You pick the prizes, how many win each one and how long it runs. When the time comes, the bot draws, announces the winners in the channel and can DM each of them. Everything lives in **Discord → Giveaways**. It's for owners and staff who run events and prizes for the city.

## Before you start

* The **Discord** module must be on the organization's plan. Giveaways come with every plan (Plus, Pro and Ultra).
* The city's bot must be connected to the Discord server. See [Bot](https://fivedash.fivex.gg/docs/en/discord/bot).
* The bot must be able to send messages in the giveaway's channel. The panel doesn't check this before publishing. If Discord refuses, the panel shows **O bot não pode enviar ou editar mensagens nesse canal. Confira as permissões dele no canal.** (for now this message only exists in Portuguese).
* Giveaways have no slash command. Everything happens in the panel and through the message's button.

Access level in the panel (**Giveaways** area):

| Level         | What it allows                                                                   |
| ------------- | -------------------------------------------------------------------------------- |
| **View**      | Giveaways, entrants and winners. Opens each giveaway, but can't change anything. |
| **Manage**    | End, cancel and reroll                                                           |
| **Configure** | Create, edit, publish, schedule and delete giveaways                             |

Each level includes what the one before allows. See [Team and permissions](https://fivedash.fivex.gg/docs/en/dashboard/team-and-permissions).

## The Giveaways page

**Discord → Giveaways** lists the server's giveaways, split into **Live**, **Scheduled**, **Drafts** and **Ended** (canceled ones also go under **Ended**). Click a row to open the giveaway.

Four numbers show at the top:

| Number        | What it counts                                      |
| ------------- | --------------------------------------------------- |
| **Live**      | Giveaways taking entries right now                  |
| **Entries**   | Entries in live giveaways                           |
| **Scheduled** | Giveaways that start by themselves on time          |
| **Winners**   | Winners of giveaways that ended in the last 30 days |

Each giveaway has a status:

| Status        | What it means                        |
| ------------- | ------------------------------------ |
| **Draft**     | Hasn't gone to Discord yet.          |
| **Scheduled** | Will be posted by itself on time.    |
| **Live**      | It's in the channel, taking entries. |
| **Ended**     | The winners have been drawn.         |
| **Canceled**  | Stopped without drawing anyone.      |

## Create a giveaway

Needs the **Configure** level.

### Create the draft

In **Discord → Giveaways**, click **New giveaway**. The panel creates a draft and opens the editor.

### Give it a title

In the **Giveaway** group, write the **Title**. If you want, change the **Text** that shows under it.

### Set up the prizes

In the **Prizes** group, write each prize's name and use the minus and plus buttons to pick how many win it. For more prizes, click **Add prize**. The list's order is the draw's order.

### Pick where and when

Under **Where and when**, pick the **Channel**. Under **Starts**, leave **On publish** or pick **Schedule** and set the day and time. Under **Duration**, pick **1 h**, **6 h**, **1 d**, **3 d** or **7 d**, or pick **Exact date** and set the draw's day and time.

### Set who can enter

Under **Who can enter**, pick the **Roles that can enter** (empty lets **Everyone** in) and who the bot pings in **Ping on publish**.

### Check the preview

The preview next to it has three views: **Giveaway**, **Result** and **Winner's DM**. In the **Giveaway** view, **Live** and **Ended** show the message before and after the draw. Below it, the **Summary** card shows the prizes, winners, channel, start, end and who can enter.

### Publish or schedule

Click **Publish giveaway** (or **Schedule giveaway**, if it starts later). Check the dialog and confirm. Once published, the giveaway shows up in the channel with the button to enter. Once scheduled, it goes out by itself on time.

> **Save draft** keeps the giveaway at any time, even unfinished. It only goes to Discord when you publish it.

With **@everyone** or **@here** in **Ping on publish**, the confirmation dialog warns: **Everyone in the channel will be notified with @everyone.** (or with @here).

### What's missing to publish

The panel won't publish and shows what's missing when:

| Message                                                  | What to do                                                     |
| -------------------------------------------------------- | -------------------------------------------------------------- |
| **Give the giveaway a title.**                           | Write the **Title**.                                           |
| **Pick the giveaway's channel.**                         | Pick the **Channel**.                                          |
| **Write the name of prize 2.** (with the prize's number) | Name every prize.                                              |
| **A giveaway has at most 50 winners across all prizes.** | Lower the winners.                                             |
| **Pick the roles to ping.**                              | Pick at least one role in the field under **Ping on publish**. |
| **The start has passed. Pick a time in the future.**     | Change the start day and time.                                 |
| **You can schedule up to 60 days ahead.**                | Pick a closer start.                                           |
| **Pick the draw's date and time.**                       | Set the draw's day and time.                                   |
| **The giveaway needs to run for at least 5 min.**        | Move the draw further from the start.                          |
| **A giveaway runs for at most 60 days.**                 | Move the draw closer to the start.                             |

### A scheduled giveaway

A scheduled giveaway shows **Scheduled for**, with the day, the time and how long is left. You can still change anything and click **Save**. To unschedule it, click **Back to draft**.

## Settings

### Giveaway

| Field     | What it does                                                                                                                   | Default                                                         |
| --------- | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------- |
| **Title** | The headline of the message on Discord. Required to publish. Up to 120 characters.                                             | Empty                                                           |
| **Text**  | Shows under the title. Use it for the rules or how the prize is handed over. Takes Discord formatting. Up to 2,000 characters. | "Click the button below to enter. Good luck! 🍀" (English city) |

### Prizes

| Field         | What it does                                                                                      | Default |
| ------------- | ------------------------------------------------------------------------------------------------- | ------- |
| Prize name    | What the person wins. Required to publish. Up to 100 characters.                                  | Empty   |
| Prize winners | How many win this prize, from 1 to 25.                                                            | 1       |
| **Add prize** | Adds one more prize to the list, up to 10. The **X** removes a prize (at least one always stays). | 1 prize |

Above the list, a counter shows how many winners the giveaway has in total, for example **3 of 50 winners**.

### Where and when

| Field        | What it does                                                                                                                                                          | Default        |
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
| **Channel**  | Where the giveaway is posted and the result announced. Doesn't change once the giveaway starts.                                                                       | None           |
| **Starts**   | **On publish** puts the giveaway in the channel right away. **Schedule** posts it by itself on the day and time you set, up to 60 days ahead.                         | **On publish** |
| **Duration** | How long entries stay open, counted from the start: **1 h**, **6 h**, **1 d**, **3 d** or **7 d**. With **Exact date**, the draw happens on the day and time you set. | **1 d**        |

### Who can enter

| Field                    | What it does                                                                                                                                                                                                                  | Default             |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
| **Roles that can enter** | Members without one of these roles can't enter. Up to 10 roles.                                                                                                                                                               | None (**Everyone**) |
| **Ping on publish**      | Who's notified when the giveaway shows up in the channel: **Nobody**, **@everyone**, **@here** or **Roles**. With **Roles**, a second field appears where you pick up to 10 roles. The ping only happens when it's published. | **Nobody**          |

### Look

| Field            | What it does                                                                                                                                    | Default          |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| **Image**        | Large, under the text. Not cropped.                                                                                                             | None             |
| **Thumbnail**    | Small, next to the title. The panel crops it square (a GIF isn't cropped, only scaled down).                                                    | None             |
| **Color**        | The stripe on the side of the message.                                                                                                          | **Bot color**    |
| **Button**       | The emoji and text of the enter button. The emoji can come from the bot's pack, be a regular emoji or be **No icon**. Text up to 40 characters. | 🎉 and **Enter** |
| **Button color** | Discord's button colors: **Blue**, **Gray**, **Green** or **Red**.                                                                              | **Blue**         |
| **Show entries** | Shows on the message how many people have entered.                                                                                              | On               |

The **Image** and **Thumbnail** take PNG, JPG, WebP or GIF. Only GIFs stay animated. A GIF can be up to 3 MB for the **Image** and up to 1 MB for the **Thumbnail**.

### Winners

| Field              | What it does                                                                  | Default |
| ------------------ | ----------------------------------------------------------------------------- | ------- |
| **DM the winners** | Each winner gets a private message with the prize and a link to the giveaway. | On      |

## How winners are drawn

* The server draws with a secure random generator, from everyone who clicked the button. Each person counts once.
* Prizes are drawn in the list's order. Nobody wins twice.
* If there are fewer entrants than winners, the first prizes are filled first. The spots left over stay without a winner.
* Whoever clicked **Leave the giveaway** is out, unless they click the enter button again before the draw.
* The role is checked on the click. Someone who loses the role later stays in.

> The bot checks giveaways once a minute. So a scheduled giveaway may be posted, and a live giveaway may be drawn, a little after the time (usually within about a minute). Meanwhile, the panel shows **Time's up. Drawing the winners…**.

## On Discord

### The giveaway message

When you publish, the bot posts a message in the channel with:

* whoever was picked in **Ping on publish**;
* the server's name and icon at the top, the title and the text;
* **Prizes**, with how many win each one (for example, `3x` **Gold VIP**);
* when it ends, as relative time and with the full date;
* how many have entered (with **Show entries** on);
* who can enter (**For members with** and the roles), if you picked roles;
* the total number of winners in the footer;
* the image, the thumbnail and the **Enter** button.

The entry count doesn't change on every click. The message is updated at most every 10 seconds, and the bot checks again every minute.

The message's fixed words (like **Prizes**, **Enter** and **Winners**) follow the city's language. This page shows them for an English city.

### The button

The bot's replies are private (only whoever clicked sees them) and follow the city's language.

| When                                                  | The bot replies                                                                   |
| ----------------------------------------------------- | --------------------------------------------------------------------------------- |
| The member entered                                    | **You're in! Good luck. 🍀**                                                      |
| The role is missing                                   | **To enter you need one of these roles:** and the roles                           |
| Already entered                                       | **You've already entered this giveaway.**, with the **Leave the giveaway** button |
| Clicked **Leave the giveaway**                        | **You left the giveaway.**                                                        |
| Clicked **Leave the giveaway** without having entered | **You haven't entered this giveaway.**                                            |
| Time's up, but the draw hasn't happened yet           | **This giveaway has ended. The result is coming in a moment.**                    |
| The draw already happened                             | **This giveaway is over. The winners are on the message.**                        |
| The giveaway was canceled                             | **This giveaway was canceled.**                                                   |

### The result

When the draw happens:

* The giveaway message changes: it shows the **Winners** of each prize (or *no winner*), and the button turns gray, with **Ended**.
* The bot replies to the giveaway message with **Result:** and the title, and pings the winners with **Congratulations**.
* With **DM the winners** on, each winner gets **You won a giveaway!** and the **View the giveaway** link. DMs only go out after the result is posted in the channel.
* If nobody entered, the message says **Nobody entered this giveaway.**

Winner's DM text (English city):

```text
You won **Gold VIP** in **City RP**'s giveaway. The team will reach out to hand over your prize.
```

## Follow a live giveaway

A live giveaway opens on the **Summary** tab. The **Configure** tab has the settings.

* **Ends in**: the days, hours, minutes and seconds left, and a bar with how much time has gone by.
* **Entries**: who entered, newest first, 25 per page. Use **Search by name or ID**. After the draw, winners show **Won**.
* **Timeline**: **Created**, **Started**, **Ends and draws** and **Result in the channel**.
* **View on Discord** opens the giveaway message.

### Edit a live giveaway

Needs the **Configure** level. On the **Configure** tab, change what you want and click **Save** on the **You have unsaved changes** bar. The bot updates the message in the channel.

* The **Channel** doesn't change once the giveaway starts.
* The **Duration** counts from the giveaway's start, not from when you save. If the new duration would end the giveaway in under 1 minute, the panel doesn't save and shows **The giveaway needs to run for at least 1 min.**
* The ping only happens when it's published.
* If Discord doesn't update the message, you see **Saved, but Discord didn't update**, with the reason.

## End, reroll and cancel

Needs the **Manage** level.

### End now

### Open the giveaway

In **Discord → Giveaways**, open a **Live** giveaway.

### Click End now

On the **Summary** tab, click **End now**. It's also in the **⋯** menu at the top of the page.

### Confirm

The **End and draw now?** dialog shows how many have entered. Confirm. The winners are drawn right away and the result goes to the channel.

The giveaway then shows **Ended by** and the name of whoever ended it. When it ends by itself on time, it shows **Drawn automatically on time**; after the first **Reroll**, it shows **Ended by** with the name of whoever rerolled.

### Reroll

Once the giveaway ends, the **Winners** card shows each prize with its winners. Click **Reroll** next to a winner to replace only them.

* Whoever takes the spot is an entrant who hasn't won and wasn't replaced before. The prize stays the same.
* Someone who was replaced never comes back.
* The bot updates the giveaway message and replies to it with **New winner of** and the prize, pinging the person. With **DM the winners** on, they get the DM.
* Whoever lost the spot gets no message from the bot.
* If nobody's left, you see **Nobody's left to draw: every entrant has already won or been replaced.**

### Cancel

A **Live** or **Scheduled** giveaway can be canceled from the **⋯** menu → **Cancel giveaway**. Nobody wins and the button stops taking entries. The message on Discord shows **This giveaway was canceled.** and the button turns gray, with **Canceled**.

> Ending and canceling can't be undone. An **Ended** or **Canceled** giveaway can't be edited anymore.

## Delete a giveaway

Needs the **Configure** level. In the **⋯** menu, click **Delete giveaway** and confirm.

* A draft is deleted with its images.
* A giveaway that was already posted is deleted with its entries and the message on Discord.

It can't be undone.

## Limits

| What                     | Limit                                                                     |
| ------------------------ | ------------------------------------------------------------------------- |
| Giveaways per bot        | 100, counting ended and canceled ones. Delete old ones to create another. |
| Prizes per giveaway      | 10                                                                        |
| Winners per prize        | 25                                                                        |
| Winners in total         | 50                                                                        |
| Duration                 | At least 5 minutes and at most 60 days                                    |
| Scheduling               | Up to 60 days ahead                                                       |
| **Roles that can enter** | 10                                                                        |
| Roles pinged on publish  | 10                                                                        |
| **Title**                | 120 characters                                                            |
| **Text**                 | 2,000 characters                                                          |
| Prize name               | 100 characters                                                            |
| Button text              | 40 characters                                                             |

## FAQ

**Can I change the channel of a live giveaway?**
No. The channel doesn't change once the giveaway starts.

**Can one person win two prizes?**
No. Each person counts once and nobody wins twice.

**The winner didn't get the DM.**
Check that **DM the winners** is on. If the person has DMs closed, the bot can't send it, but the result in the channel still pings the winner. DMs only go out after the result is posted: if the bot can't post in the channel (no permission, or the channel was deleted), neither the result nor the DMs go out.

**The entry count on the message is behind.**
That's normal. The message is updated at most every 10 seconds, and the bot checks again every minute. In the panel, the **Entries** list shows every entry.

**The giveaway wasn't posted. What happened?**
The panel shows the reason on the giveaway. If Discord refused for good (the bot can't send in the channel, or the channel no longer exists), the giveaway goes back to **Draft**. Fix the channel or the permissions and publish again. If it was a passing Discord error, the giveaway stays **Scheduled** and the bot tries again by itself.

**Does someone who loses the role after entering stay in the giveaway?**
Yes. The role is checked when the person clicks **Enter**.

**Why can't I create another giveaway?**
Each bot keeps up to 100 giveaways, counting ended and canceled ones. At 100, the **New giveaway** button is disabled: delete some old ones to create another.

## Next steps

[Bot](https://fivedash.fivex.gg/docs/en/discord/bot)Connect the bot and adjust its profile and emojis.
[Discord overview](https://fivedash.fivex.gg/docs/en/discord/overview)Every page in the module and what each level unlocks.
[Forms](https://fivedash.fivex.gg/docs/en/discord/forms)Applications with questions the team approves or refuses.
[Team and permissions](https://fivedash.fivex.gg/docs/en/dashboard/team-and-permissions)Give each person the right level.
