start the bot withing asincio event loop
This commit is contained in:
parent
8156cb5a61
commit
4cb5695855
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue