diff options
| author | Guillermo Serrahima <dev@vylion.com> | 2026-02-02 04:15:55 +0100 |
|---|---|---|
| committer | Guillermo Serrahima <dev@vylion.com> | 2026-02-02 04:15:55 +0100 |
| commit | 38c452051e7ff7a9b423b8d5be19a434c4d2f6ef (patch) | |
| tree | c79867863a4fd0938db7a0618c11f02828087f1f /main.py | |
| parent | fb915558d45d175b82331615390d18f29302f9a9 (diff) | |
| download | velascobot2-38c452051e7ff7a9b423b8d5be19a434c4d2f6ef.tar.xz velascobot2-38c452051e7ff7a9b423b8d5be19a434c4d2f6ef.zip | |
More misc corrections
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 |
