mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-20 02:08:20 +08:00
Fix bug
This commit is contained in:
parent
87fae851fd
commit
4b26e77f82
@ -172,15 +172,15 @@ sidebar: auto
|
|||||||
|
|
||||||
- **说明:**
|
- **说明:**
|
||||||
|
|
||||||
超级用户的 QQ 号,用于命令的权限检查。
|
机器人的昵称,用于辨别用户是否在和机器人说话(目前仅用于自然语言处理器,命令仍需 @)。
|
||||||
|
|
||||||
- **用法:**
|
- **用法:**
|
||||||
|
|
||||||
```python
|
```python
|
||||||
SUPERUSERS = {12345678, 87654321}
|
NICKNAME = {'奶茶', '小奶茶'}
|
||||||
```
|
```
|
||||||
|
|
||||||
设置 `12345678` 和 `87654321` 为超级用户。
|
用户可以通过「奶茶」或「小奶茶」来呼唤机器人。
|
||||||
|
|
||||||
### `COMMAND_START`
|
### `COMMAND_START`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user