From 38c452051e7ff7a9b423b8d5be19a434c4d2f6ef Mon Sep 17 00:00:00 2001 From: Guillermo Serrahima Date: Mon, 2 Feb 2026 04:15:55 +0100 Subject: More misc corrections --- main.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.py') diff --git a/main.py b/main.py index c01aa6b..37c5d12 100644 --- a/main.py +++ b/main.py @@ -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 -- cgit v1.2.3