# end

{% tabs %}
{% tab title="Cooldown" %}
30 seconds
{% endtab %}

{% tab title="Permissions" %}

* `MANAGE_SERVER:` The discord user running the command should have at least this permission in the giveaway server.
  {% endtab %}

{% tab title="Requirements" %}

* `VIEW_CHANNEL:` Nyaru should be able to view the giveaway channel.
* `SEND_MESSAGES:` Nyaru should be able to send the giveaway message.
* `EMBED_LINKS:` Nyaru should be able to send giveaway embeds in the giveaway channel.
  {% endtab %}
  {% endtabs %}

## Usage

`@Nyaru gend`` `<mark style="color:purple;">`<Giveaway ID | Message ID`</mark>`>`

`/giveaway end`` `<mark style="color:purple;">`<Giveaway ID | Message ID>`</mark>

## Example

Simply provide the message ID of the running giveaway to end it.

> `@Nyaru gend`` `<mark style="color:purple;">`1325902679289102542`</mark>
>
> `/giveaway`` `<mark style="color:purple;">`end message_id:1325902679289102542`</mark>


---

# Agent Instructions: 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:

```
GET https://docs.nyaru.xyz/giveaways/gend.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
