Update description
This commit is contained in:
parent
c95aa1ed34
commit
e30521badd
12
main.py
12
main.py
@ -6,13 +6,11 @@ from tools.sessions import session
|
||||
|
||||
|
||||
async def main():
|
||||
try:
|
||||
init_logger()
|
||||
await app.start()
|
||||
await idle()
|
||||
finally:
|
||||
await session.close()
|
||||
await app.stop()
|
||||
init_logger()
|
||||
await app.start()
|
||||
await idle()
|
||||
await session.close()
|
||||
await app.stop()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -28,7 +28,7 @@ async def sticker_event(cli: Client, msg: Message):
|
||||
await logger.complete()
|
||||
|
||||
|
||||
@Client.on_message(command('s'))
|
||||
@Client.on_message(command('sticker'))
|
||||
async def sticker(cli: Client, msg: Message):
|
||||
"""
|
||||
用法一:-s <emoji|无> 回复一条消息
|
||||
|
Loading…
Reference in New Issue
Block a user