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

# Giveaways

Commands which are managed to host/manage giveaways in a server.

### `a!wins`

{% tabs %}
{% tab title="Usage" %}

* `a!wins` - Shows the number of giveaway wins in total of a user.
  {% endtab %}
  {% endtabs %}

### `a!gwin-role`

{% tabs %}
{% tab title="Usage" %}

* `a!gwin-role` - View/manage current roles to be added to the winner of a giveaway.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2Fy5KWhbvgKvfLZ6kYIHXv%2FDiscordPTB_CIgrIV2mov.gif?alt=media&amp;token=8ad145c2-285a-4391-87d7-c2575d6ad730" alt=""><figcaption><p>a!winrole add ↗️</p></figcaption></figure>

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FpCh8StQyiUrM8uSLo6Je%2FDiscordPTB_t8Wo8mUEAm.gif?alt=media&amp;token=5f9a06fa-c21d-44c4-92b0-d6952fcf8f56" alt=""><figcaption><p>a!winrole remove ↗️</p></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!gblacklist`

{% tabs %}
{% tab title="Usage" %}

* `a!gblacklist` - View/manage members from entering giveaways.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FgvgPX6M4HSurhdonvFQ8%2FDiscordPTB_kphDXuFyov.gif?alt=media&amp;token=294337d2-31b5-4fa9-a179-cadc52228ac6" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!glist`

{% tabs %}
{% tab title="Usage" %}

* `a!glist` - View the current list of giveaways which are running in the server.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FA4HFxtAw9Wo9s6CBvTN5%2FDiscordPTB_7VnVXPFKIM.gif?alt=media&amp;token=fe5a5bc4-f146-4f06-b5fb-c354ab593240" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

`a!gcreate`

{% tabs %}
{% tab title="First Tab" %}

* `a!gcreate` - Sends a panel through which you can create a giveaway with requirements.
  {% endtab %}

{% tab title="Second Tab" %}

{% endtab %}
{% endtabs %}

### `a!gdelete`

{% tabs %}
{% tab title="Usage" %}

* `a!gdelete` - Deletes a giveaway from the server and the database.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2F8nWNN9jTLnoq1tkc0CGD%2FDiscordPTB_5B5Wc1cNP0.gif?alt=media&amp;token=bd3b221b-5668-4c15-a6c0-41621aa59b8d" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!gend`

{% tabs %}
{% tab title="Usage" %}

* `a!gend` - Ends a currently running giveaway in this server.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2F50OpSOlaxi6nRLjhSZiu%2FDiscordPTB_WRwi70eVZd.gif?alt=media&amp;token=ae1d2134-b339-46d7-8cde-796fd8dc2df9" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!greroll`

{% tabs %}
{% tab title="Usage" %}

* `a!greroll <msg_id>` - Rerolls a giveaway with a message ID (`msg_id` is optional).
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FXNC8HxIKoXzGWcWehx5g%2Fr2n5D1C7R3.gif?alt=media&amp;token=f2e4ba4a-b210-4e95-9f31-c02b715deb61" alt=""><figcaption></figcaption></figure>

{% endtab %}
{% endtabs %}

### `a!gstart`

{% tabs %}
{% tab title="Usage" %}

* `a!gstart <duration> <winners> <prize>` - Creates a giveaway in the server.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="https://1529724062-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMamhYDlJn583lofv3ZTW%2Fuploads%2FPZB0smjVAAjCwhV3tdhh%2FDiscordPTB_wzIU1VHa7M.gif?alt=media&amp;token=454592a1-99ac-4087-9ec4-77c35e6ac1bc" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!gcheck`

{% tabs %}
{% tab title="First Tab" %}

* `a!gcheck <giveaway-id> [user]` - Check if you or someone else is eligible to enter a giveaway which has certain requirement(s).
  {% endtab %}

{% tab title="Second Tab" %}

{% endtab %}
{% endtabs %}

{% hint style="info" %}
**Syntax usage:**

`<>` = Required argument (mandatory and must be included)

`[]` = Optional argument (not necessary to be included)
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apollo-bot.xyz/commands/giveaways.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
