Update description

This commit is contained in:
iwumingz 2022-04-08 09:39:34 +08:00
parent c95aa1ed34
commit e30521badd
2 changed files with 6 additions and 8 deletions

12
main.py
View File

@ -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__':

View File

@ -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|> 回复一条消息