mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
一个基于Nonebot+官方API的QQ群聊机器人
|
|
||
|---|---|---|
| .idea | ||
| src | ||
| .gitignore | ||
| bot.py | ||
| example.env.prod | ||
| pyproject.toml | ||
| README.md | ||
| requirements.txt | ||
SanYeCao-Nonebot
How to start
- generate project using
nb create. - install plugins using
nb plugin install. - run your bot using
nb run.
Documentation
See Docs
pip install -r requirements.txt
你需要把你 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
}]'