> 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/en-us/basic/get-channel-id.md).

# 获取频道id

```
/roll channel
```

For qq groups, channel id is the same as group number

For non-qq group users, you need to use this command to get channel id

## Localization & Alias

This command can also be triggered by

```
/r channel
/r ch

/channel id
```
