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

# 抽獎

用法 `=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 %}
