nonebot2/tests/test_plugins/test_group/__init__.py

8 lines
186 B
Python
Raw Normal View History

from nonebot.rule import to_me
2020-12-04 01:55:03 +08:00
from nonebot import CommandGroup, MatcherGroup
2020-12-04 01:55:03 +08:00
cmd = CommandGroup("test", rule=to_me())
match = MatcherGroup(priority=2)
2020-12-04 01:55:03 +08:00
from . import commands, matches