From 7bed58748b5ce4f191af6074b7f54f8d807920c3 Mon Sep 17 00:00:00 2001 From: nameless Date: Tue, 15 Aug 2023 19:52:40 +0000 Subject: [PATCH] use bot_token for client.start --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 5ac5128..1405913 100644 --- a/bot.py +++ b/bot.py @@ -620,6 +620,6 @@ if __name__ == '__main__': continue client.queue.put_nowait((task['id'], task['id'],)) - client.start() + client.start(bot_token=bot_token) client.flood_sleep_threshold = 24*60*60 client.run_until_disconnected()