GraiaProject / Ariadne

一个优雅且完备的 Python QQ 自动化框架,基于 Mirai API HTTP v2。 Powered by Graia Project.
https://graia.cn/ariadne
GNU Affero General Public License v3.0
751 stars 45 forks source link

💡add skip_for_unmatch arg #115

Closed RF-Tar-Railt closed 2 years ago

RF-Tar-Railt commented 2 years ago

更改说明 加入一个kwonly的参数 skip_for_unmatch, 默认为True 该参数为True时, 若当前Alconna解析失败, 会抛出ExecutionStop

向后兼容性 当skip_for_unmatch为False时, 解析结果依然会被分配给事件监听器. 届时可能会出现一个命令发出导致多个事件监听器被调用

RF-Tar-Railt commented 2 years ago

先别merge……0.7还要更新一波

RF-Tar-Railt commented 2 years ago

可以准备merge了 记得依赖提到Alconna 0.7.0

RF-Tar-Railt commented 2 years ago

可以准备merge了 记得依赖提到Alconna 0.7.0

Alconna 0.7.1