mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-23 07:57:37 +08:00
first commit
This commit is contained in:
parent
d58436820e
commit
ebe61e187e
@ -1,9 +0,0 @@
|
|||||||
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!')
|
|
Loading…
Reference in New Issue
Block a user