Преглед изворни кода

Update startup message formatting in Telegram bot - Changed escape sequences to newline characters for improved readability in the bot's startup message. This enhances the clarity of the information presented to users upon initialization.

Carles Sentis пре 5 дана
родитељ
комит
264b0a9f51
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      src/bot/core.py

+ 4 - 4
src/bot/core.py

@@ -308,10 +308,10 @@ For support or issues, check the logs or contact the administrator.
             logger.info(f"🚀 Starting Telegram trading bot v{self.version} (v20.x style)...")
             logger.info(f"🚀 Starting Telegram trading bot v{self.version} (v20.x style)...")
             
             
             await self.send_message(
             await self.send_message(
-                f"🤖 <b>Manual Trading Bot v{self.version} Started (v20.x style)</b>\\\\n\\\\n"
-                f"✅ Connected to Hyperliquid {{'Testnet' if Config.HYPERLIQUID_TESTNET else 'Mainnet'}}\\\\n"
-                f"📊 Default Symbol: {Config.DEFAULT_TRADING_TOKEN}\\\\n"
-                f"🔄 All systems ready!\\\\n\\\\n"
+                f"🤖 <b>Manual Trading Bot v{self.version} Started (v20.x style)</b>\n\n"
+                f"✅ Connected to Hyperliquid {('Testnet' if Config.HYPERLIQUID_TESTNET else 'Mainnet')}\n"
+                f"📊 Default Symbol: {Config.DEFAULT_TRADING_TOKEN}\n"
+                f"🔄 All systems ready!\n\n"
                 "Use /start for quick actions or /help for all commands."
                 "Use /start for quick actions or /help for all commands."
             )
             )