add message segment for coolq

This commit is contained in:
yanyongyu
2020-07-18 18:18:43 +08:00
parent 3dbd927a2a
commit 9355ed4baf
5 changed files with 277 additions and 34 deletions

View File

@ -4,6 +4,9 @@
from nonebot.rule import Rule
from nonebot.event import Event
from nonebot.plugin import on_message
from nonebot.adapters.coolq import Message
print(repr(Message("asdfasdf[CQ:at,qq=123][CQ:at,qq=all]")))
test_matcher = on_message(Rule(), state={"default": 1})