test matchergroup

This commit is contained in:
yanyongyu
2020-12-04 01:55:03 +08:00
parent 5b42454a55
commit f6806c1d55
5 changed files with 30 additions and 14 deletions

View File

@ -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