> For the complete documentation index, see [llms.txt](https://docs.logthm.com/roll-bot-project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.logthm.com/roll-bot-project/basic/get-channel-id.md).

# 获取频道id

```
/roll channel
```

对于 qq 群，频道id与群号相同

对于非 qq 群用户，你需要使用该指令获得频道id

## 本地化 & 别称

该指令也可使用如下方式触发

```
/r channel
/r ch

/频道id
```
