nonebot2/tests/test_plugins/test_group/commands.py
2020-12-17 21:09:30 +08:00

11 lines
209 B
Python

from nonebot.adapters import Bot, Event
from . import cmd
test_1 = cmd.command("1", aliases={"test"})
@test_1.handle()
async def test1(bot: Bot, event: Event):
await test_1.finish(event.get_message())