mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +08:00
8 lines
186 B
Python
8 lines
186 B
Python
from nonebot.rule import to_me
|
|
from nonebot import CommandGroup, MatcherGroup
|
|
|
|
cmd = CommandGroup("test", rule=to_me())
|
|
match = MatcherGroup(priority=2)
|
|
|
|
from . import commands, matches
|