mirror of
https://github.com/woodchen-ink/Q58Bot.git
synced 2025-07-18 05:42:06 +08:00
guard fix
This commit is contained in:
parent
d295c817b7
commit
6d46647125
@ -100,5 +100,8 @@ async def main():
|
||||
logger.info("Attempting to restart TeleGuard in 60 seconds...")
|
||||
await asyncio.sleep(60)
|
||||
|
||||
if __name__ == '__main__':
|
||||
def run():
|
||||
asyncio.run(main())
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
|
Loading…
x
Reference in New Issue
Block a user