mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-20 02:08:20 +08:00
commit
1654dffa4d
@ -14,5 +14,13 @@
|
|||||||
"desc": "将B站UP主的动态和直播信息推送至QQ",
|
"desc": "将B站UP主的动态和直播信息推送至QQ",
|
||||||
"author": "SK-415",
|
"author": "SK-415",
|
||||||
"repo": "SK-415/HarukaBot"
|
"repo": "SK-415/HarukaBot"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "nonebot_plugin_rauthman",
|
||||||
|
"link": "nonebot-plugin-rauthman",
|
||||||
|
"name": "rauthman",
|
||||||
|
"desc": "基于规则的授权管理",
|
||||||
|
"author": "Lancercmd",
|
||||||
|
"repo": "Lancercmd/nonebot_plugin_rauthman"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -153,7 +153,7 @@ async def arg_handle(bot: Bot, event: Event, state: dict):
|
|||||||
if state["arg1"] not in ["allow", "list"]:
|
if state["arg1"] not in ["allow", "list"]:
|
||||||
await matcher.reject("参数不正确!请重新输入")
|
await matcher.reject("参数不正确!请重新输入")
|
||||||
# 发送一些信息
|
# 发送一些信息
|
||||||
await bot.send("message")
|
await bot.send(event, "message")
|
||||||
await matcher.send("message")
|
await matcher.send("message")
|
||||||
await matcher.finish("message")
|
await matcher.finish("message")
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user