mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
初始化整理
This commit is contained in:
parent
138820da91
commit
9d715f2fb7
1 changed files with 24 additions and 0 deletions
24
README.md
24
README.md
|
|
@ -11,3 +11,27 @@
|
||||||
See [Docs](https://nonebot.dev/)
|
See [Docs](https://nonebot.dev/)
|
||||||
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
你需要把你 [example.env.prod](example.env.prod)文件改为你自己的配置文件
|
||||||
|
如果没有可以自己创建一个
|
||||||
|
.env.prod
|
||||||
|
|
||||||
|
内容如下
|
||||||
|
|
||||||
|
```
|
||||||
|
DRIVER=~fastapi+~httpx+~websockets
|
||||||
|
|
||||||
|
QQ_IS_SANDBOX=false
|
||||||
|
|
||||||
|
QQ_BOTS='[{
|
||||||
|
"id": "",
|
||||||
|
"token": "",
|
||||||
|
"secret": "",
|
||||||
|
"intent": {
|
||||||
|
"guild_messages": true,
|
||||||
|
"c2c_group_at_messages": true
|
||||||
|
},
|
||||||
|
"use_websocket": false
|
||||||
|
}]'
|
||||||
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue