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

# Management

> Create, manage, and customize giveaways.

<Warning>
  `<>` means an argument is required, `[]` means it's optional
</Warning>

### Quick giveaway

Create a quick and classic giveaway with minimal setup.

<CodeGroup>
  ```js Syntax theme={null}
  /giveaway quick <duration> <winners> [channel] <prize>
  ```
</CodeGroup>

* `duration` (time): required <br />
  The duration of the giveaway.
* `winners` (number): required <br />
  The number of winners for the giveaway.
* `channel` (channel): optional <br />
  The channel where the giveaway will be created.
* `prize` (text): required <br />
  The prize for the giveaway.

### Start giveaway

Create a fully customizable giveaway.

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

* `duration` (time): required <br />
  The duration of the giveaway.
* `winners` (number): required <br />
  The number of winners for the giveaway.
* `channel` (channel): optional <br />
  The channel where the giveaway will be created.
* `prize` (text): required <br />
  The prize for the giveaway.

### Template giveaway

Create a giveaway from a saved template.

<CodeGroup>
  ```js Syntax theme={null}
  /giveaway template <template_name> [response_name]
  ```
</CodeGroup>

* `template_name` (text): required <br />
  The name of the template.
* `response_name` (text): optional <br />
  Use another giveaway embed.

### Reroll giveaway

Reroll winners for an ended giveaway using its message ID.

<CodeGroup>
  ```js Syntax theme={null}
  /giveaway reroll <message_id> [winners]
  ```
</CodeGroup>

* `message_id` (text): required <br />
  The message ID of the giveaway embed.
* `winners` (number): optional <br />
  The number of winners to reroll.

### End giveaway

End an ongoing giveaway early.

<CodeGroup>
  ```js Syntax theme={null}
  /giveaway end <message_id>
  ```
</CodeGroup>

* `message_id` (text): required <br />
  The message ID of the giveaway embed.

### Edit giveaway

Edit an ongoing giveaway using its message ID.

<CodeGroup>
  ```js Syntax theme={null}
  /giveaway edit <message_id>
  ```
</CodeGroup>

* `message_id` (text): required <br />
  The message ID of the giveaway embed.
