mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 16:16:21 +08:00
11 lines
209 B
Python
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())
|