> ## Documentation Index
> Fetch the complete documentation index at: https://docs.newt.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Giveaways

> A prize, a timer and an Enter button. Newt draws the winners.

## <Icon icon="gift" size={24} /> Start a giveaway

<CodeGroup>
  ```plaintext Syntax theme={null}
  /giveaway start <prize> <duration> [winners] [channel] [role]
  ```

  ```plaintext Example theme={null}
  /giveaway start prize:Discord Nitro duration:3d winners:2 channel:#giveaways
  ```
</CodeGroup>

* **duration:** 1 minute to 30 days, like `30m`, `2h` or `3d`.
* **winners:** 1 to 20.
* **role:** only people with this role can enter.

Members press **Enter**. When time runs out, Newt picks the winners at random and pings them.

<Tip>
  You can also start one from the dashboard's **Giveaways** tab.
</Tip>

## <Icon icon="pen" size={24} /> Manage giveaways

<AccordionGroup>
  <Accordion title="End early" icon="flag-checkered">
    Draws the winners now.

    ```plaintext theme={null}
    /giveaway end <giveaway>
    ```
  </Accordion>

  <Accordion title="Reroll" icon="dice">
    Draws new winners for an ended giveaway, up to 60 days after it ended.

    ```plaintext theme={null}
    /giveaway reroll <giveaway> [winners]
    ```
  </Accordion>

  <Accordion title="Cancel" icon="xmark">
    Ends it with no winners.

    ```plaintext theme={null}
    /giveaway cancel <giveaway>
    ```
  </Accordion>

  <Accordion title="See giveaways" icon="list">
    Running ones and recent ones.

    ```plaintext theme={null}
    /giveaway list
    ```
  </Accordion>
</AccordionGroup>

## <Icon icon="gauge" size={24} /> Dashboard settings

On the **Giveaways** tab:

* **Role to ping** every time a new giveaway posts.
* **Send winners a DM** as well.

## <Icon icon="circle-info" size={24} /> Good to know

* Pressing **Enter** again offers a **Leave** button.
* **Entries** shows who entered, only to the person who pressed it.
* Winners must still be in the server. If fewer people enter than there are winners, everyone who entered wins.
* Up to 25 giveaways can run at once.

**Permission:** Manage Server
