start the bot withing asincio event loop

This commit is contained in:
deflax 2024-01-16 19:23:27 +02:00
parent 8156cb5a61
commit 4cb5695855

View file

@ -83,4 +83,4 @@ async def my_task():
counter += 1
# Run the bot with your token
bot.run(bot_token)
asyncio.run(bot.run(bot_token))