From aa8f618d9c30e2b94ef6272827e70c17685d72de Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 24 Apr 2023 21:15:47 +0800 Subject: [PATCH] Update tgclient.py --- plugins/tgclient/startup/tgclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tgclient/startup/tgclient.py b/plugins/tgclient/startup/tgclient.py index 40160686b..2ae8e7c69 100644 --- a/plugins/tgclient/startup/tgclient.py +++ b/plugins/tgclient/startup/tgclient.py @@ -100,7 +100,7 @@ async def change_name_auto(): print('will change name') await asyncio.sleep(1) -async def main(): +async def main(loop): await client.start() # create new task