# 抽獎

用法 `=giveaway`

{% tabs %}
{% tab title="創建一個抽獎" %}
用法 `=giveaway create <頻道> <獎品名稱> <抽出人數> <開獎時間>`\
\
開獎時間的格式為 `年/月/日 時:分`

{% hint style="info" %}
你必須有 <mark style="color:green;">管理伺服器</mark> 的權限才可執行此指令。
{% endhint %}
{% endtab %}

{% tab title="刪除指定的抽獎" %}
用法 `=giveaway delete/del <抽獎訊息ID>`

{% hint style="info" %}
你必須有 <mark style="color:green;">管理伺服器</mark> 的權限才可執行此指令。
{% endhint %}
{% endtab %}

{% tab title="提前結束指定的抽獎" %}
用法 `=giveaway end <抽獎訊息ID>`

{% hint style="info" %}
你必須有 <mark style="color:green;">管理伺服器</mark> 的權限才可執行此指令。
{% endhint %}
{% endtab %}
{% endtabs %}


---

# 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://tofucat-docs.bruh0422.xyz/useful/giveaway.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.
