first commit

This commit is contained in:
2024-02-29 01:03:40 +08:00
commit d425cf8685
10 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,9 @@
from nonebot import on_command
from nonebot.rule import to_me
hello = on_command('hello', aliases={'你好'}, rule=to_me())
@hello.handle()
async def handle_first_receive(bot, event, state):
await hello.finish('Hello, world!')