diff --git a/bot.py b/bot.py index e10f70b..b761b0d 100644 --- a/bot.py +++ b/bot.py @@ -15,6 +15,7 @@ filters, ) +from logger import logger from config import bot_token from commands import COMMANDS from handlers import ( @@ -81,6 +82,7 @@ def main() -> None: application.run_polling(allowed_updates=Update.ALL_TYPES) if application.bot_data["restart"]: + logger.info("Restarting the bot!!!") os.execl(sys.executable, sys.executable, *sys.argv)