> For the complete documentation index, see [llms.txt](https://docs.pandezlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pandezlabs.com/pago/giveaways.md).

# Giveaways

Fund a prize up front and let your server enter. Winners are picked at random and paid automatically.

<figure><img src="https://content.gitbook.com/content/vkZXo7FNAoexSLcnn4zr/blobs/Hs3p7JDXURJFtcRGDJ6P/.gitbook/assets/giveaway.png" alt="A Pago giveaway post: 0.1 SOL per winner, a 0.3 SOL prize pool, 3 winners, an Enter giveaway button and the end time" width="563"><figcaption></figcaption></figure>

## Start a giveaway

1. In a server text or announcement channel, type `/pago`, open **More** and click **Start** next to **Start a giveaway**.
2. Choose the token. Click **Set details** to set how long it runs, such as `10m`, `2h` or `1d` (up to 30 days), and the number of winners (up to 10). To notify people, click **Change ping**. Then click **Continue**.
3. Enter the prize per winner and click **Review**.
4. Click **Start giveaway**. The whole prize pool comes out of your balance now and is held until the end.

The server needs to [add Pago](https://docs.pandezlabs.com/pago/getting-started.md#add-pago-to-your-server) first, and it can have up to 5 active giveaways. Only the server owner or an administrator can ping a role, `@here` or `@everyone`.

## Enter

Click **Enter giveaway** on the post. You can enter once, and the host can't enter.

## When it ends

Pago picks the winners at random from the entries and pays them automatically. It then posts the results and removes the original post. Click **Prize payments** to see each payment on PagoScan.

If fewer people enter than there are winners, everyone who entered wins and the unused prize money goes back to the host. With no entries, the host gets the whole prize pool back.

## End early or cancel

In `/giveaways`, click **View** on the giveaway. **End giveaway** picks and pays the winners now. **Cancel giveaway** refunds the whole prize pool without picking winners. The host, the server owner and administrators can do either.
