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,9 +1,9 @@
from nonebot.typing import Bot, Event
from nonebot.permission import GROUP_OWNER
from . import test
from . import cmd
test_1 = test.command("1", aliases={"test"}, permission=GROUP_OWNER)
test_1 = cmd.command("1", aliases={"test"}, permission=GROUP_OWNER)
@test_1.handle()