🔀 Merge pull request #490

Release 2.0.0a15
This commit is contained in:
Ju4tCode
2021-08-13 00:36:34 +08:00
committed by GitHub
78 changed files with 314 additions and 183 deletions

View File

@ -1,5 +1,5 @@
[
"2.0.0a14",
"2.0.0a15",
"2.0.0a13.post1",
"2.0.0a10",
"2.0.0a8.post2",

View File

@ -133,7 +133,11 @@ pip install nonebot-adapter-mirai
from nonebot.adapters.mirai import Bot
nonebot.init()
nonebot.get_driver().register_adapter('mirai', Bot, qq=12345678) # qq参数需要填在mah中登录的qq
nonebot.get_driver().register_adapter('mirai',
Bot,
qq=12345678)
# qq参数需要填在mah中登录的qq, 如果需要多个帐号, 可以填写类似于 [123456,789100] 的数组形式
nonebot.load_builtin_plugins() # 加载 nonebot 内置插件
nonebot.run()
```