use bot_token for client.start

This commit is contained in:
nameless 2023-08-15 19:52:40 +00:00
parent 17bf9835c7
commit 7bed58748b
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -620,6 +620,6 @@ if __name__ == '__main__':
continue continue
client.queue.put_nowait((task['id'], task['id'],)) client.queue.put_nowait((task['id'], task['id'],))
client.start() client.start(bot_token=bot_token)
client.flood_sleep_threshold = 24*60*60 client.flood_sleep_threshold = 24*60*60
client.run_until_disconnected() client.run_until_disconnected()