diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,4 @@ +import asyncio import logging from pathlib import Path @@ -18,6 +19,7 @@ def load_config(config_path: Path | None) -> dict: def run_bot(bot: Bot) -> None: + asyncio.run(bot.wake_up()) bot.app.run_polling(poll_interval=1.0) assert "@" + bot.app.bot.username == bot.messenger.username |
