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(): async def main():
try: init_logger()
init_logger() await app.start()
await app.start() await idle()
await idle() await session.close()
finally: await app.stop()
await session.close()
await app.stop()
if __name__ == '__main__': if __name__ == '__main__':

View File

@ -28,7 +28,7 @@ async def sticker_event(cli: Client, msg: Message):
await logger.complete() await logger.complete()
@Client.on_message(command('s')) @Client.on_message(command('sticker'))
async def sticker(cli: Client, msg: Message): async def sticker(cli: Client, msg: Message):
""" """
用法一-s <emoji|> 回复一条消息 用法一-s <emoji|> 回复一条消息