> For the complete documentation index, see [llms.txt](https://itachi-bot.gitbook.io/itachi-bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://itachi-bot.gitbook.io/itachi-bot/commands/giveaway-commands.md).

# Giveaway Commands

{% hint style="warning" %}

## Note

This command can only be used by People who have **MANAGE\_MESSAGES** permission
{% endhint %}

## <mark style="color:red;">Start a giveaway</mark>

<details>

<summary>/giveaway create [duration] [winners] [prize] &#x3C;channel> &#x3C;giveaway-role></summary>

<mark style="color:purple;">Duration</mark> = For how much time giveaway last. <mark style="color:blue;">(d = day, h = hrs, m = mins)</mark>

<mark style="color:purple;">Winners</mark> = No. of winners. [<mark style="color:blue;">(integer)</mark>](/itachi-bot/introduction.md#important-terminology)

<mark style="color:purple;">Prize</mark> = Name of Prize. [<mark style="color:blue;">(string)</mark>](/itachi-bot/introduction.md#important-terminology)

<mark style="color:purple;">Channel</mark> = Channel where giveaway should start. <mark style="color:blue;">(optional)</mark>

<mark style="color:purple;">Giveaway-role</mark> = Notifies the role provided. <mark style="color:blue;">(optional)</mark>

</details>

## <mark style="color:red;">Action a giveaway</mark>

### End a giveaway

```
/giveaway actions [option:⛔ End] [message-id]
```

Ends a giveaway.

### Pause a giveaway

```
/giveaway actions [option:⏸ Pause] [message-id]
```

Pauses a giveaway.

### Resume a giveaway

```
/giveaway actions [option:▶ Unpause] [message-id]
```

Resume a giveaway.

### Reroll winner

```
/giveaway actions [option:🎲 Reroll] [message-id]
```

Selects a new giveaway winner!

### Delete a giveaway

```
/giveaway actions [option:🗑 Delete] [message-id]
```

Deletes a giveaway

<mark style="color:purple;">You've reached the bottom of this page, you've scrolled further than most Olympic swimmers! Now take a break before you start training for the next scrolling marathon.</mark>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://itachi-bot.gitbook.io/itachi-bot/commands/giveaway-commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
