mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 00:31:14 +00:00
✅ test matchergroup
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
from nonebot.rule import to_me
|
||||
from nonebot import CommandGroup
|
||||
from nonebot import CommandGroup, MatcherGroup
|
||||
|
||||
test = CommandGroup("test", rule=to_me())
|
||||
cmd = CommandGroup("test", rule=to_me())
|
||||
match = MatcherGroup(priority=2)
|
||||
|
||||
from . import commands
|
||||
from . import commands, matches
|
||||
|
Reference in New Issue
Block a user