mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-19 17:58:26 +08:00
10 lines
208 B
Python
10 lines
208 B
Python
from . import cmd
|
|
from nonebot.adapters import Bot, Event
|
|
|
|
test_1 = cmd.command("1", aliases={"test"})
|
|
|
|
|
|
@test_1.handle()
|
|
async def test1(bot: Bot, event: Event):
|
|
await test_1.finish(event.get_message())
|