mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-08-01 02:30:16 +00:00
change rule
This commit is contained in:
@ -6,9 +6,7 @@ from nonebot.typing import Event
|
||||
from nonebot.plugin import on_message
|
||||
from nonebot.adapters.cqhttp import Bot, Message
|
||||
|
||||
print(repr(Message("asdfasdf[CQ:at,qq=123][CQ:at,qq=all]")))
|
||||
|
||||
test_matcher = on_message(Rule(), state={"default": 1})
|
||||
test_matcher = on_message(state={"default": 1})
|
||||
|
||||
|
||||
@test_matcher.handle()
|
||||
|
Reference in New Issue
Block a user