start the bot withing asincio event loop
This commit is contained in:
parent
8156cb5a61
commit
4cb5695855
1 changed files with 1 additions and 1 deletions
|
@ -83,4 +83,4 @@ async def my_task():
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|
||||||
# Run the bot with your token
|
# Run the bot with your token
|
||||||
bot.run(bot_token)
|
asyncio.run(bot.run(bot_token))
|
||||||
|
|
Loading…
Reference in a new issue