# 简介

**抽奖** 是 Roll Bot 提供的主要功能，一个抽奖将包含：

* 标题
* 详细描述&#x20;
* 奖品
* 自动开奖的时间
* 加入口令
* 开放范围
* 使用的提醒

你可以通过 [创建抽奖](/roll-bot-project/roll/add.md) 指令来创建一个新的抽奖，还可以在创建后使用 [编辑抽奖](/roll-bot-project/advanced/edit-roll.md) 指令来编辑它。

## 抽奖的加入口令

若抽奖设置了加入口令，则用户可以通过在频道内发送口令来便捷加入抽奖。通过加入口令，用户可以快捷地加入抽奖而不必查看任何指令说明。

## 抽奖的开放范围

抽奖在创建时，默认仅对当前频道开放。在创建后，你可以通过 [编辑抽奖](/roll-bot-project/advanced/edit-roll.md) 指令来编辑抽奖的开放范围。这可以使多个频道的用户均可以参与抽奖。同一平台的同一用户只能参与一次。在跨平台环境下使用时，如果用户未使用 `bind` 指令绑定其不同平台的用户，则他将被视为不同的用户。

私聊被看作为仅包含你和 Roll Bot 的一个频道，这意味着你可以在私聊创建好抽奖再修改它的开放范围。使用此方法可以隐藏创建抽奖的过程，避免刷屏。


---

# 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.logthm.com/roll-bot-project/roll/overview.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.
