修改 NoneBot 配置文件 .env
或者 .env.*
。
参考 driver 配置项,添加 ForwardDriver
支持。
如:
DRIVER=~httpx+~websockets
DRIVER=~aiohttp
是否为沙盒模式,默认为 False
。
QQGUILD_IS_SANDBOX=true
配置机器人帐号,如:
QQGUILD_BOTS='
[
{
"id": "xxx",
"token": "xxx",
"secret": "xxx",
"intent": {
"guild_messages": true,
"at_messages": false
}
}
]
'