浏览代码

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)...")
             
             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."
             )