From f8cbf138ee659238f727fc988b4fbcc414293d82 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 9 Mar 2024 15:47:01 +0100 Subject: [PATCH] Add Initial bot start and current bot start to /health telegram msg --- freqtrade/rpc/telegram.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index f7e7362ef..2d59e1f16 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -1704,7 +1704,9 @@ class Telegram(RPCHandler): Shows the last process timestamp """ health = self._rpc.health() - message = f"Last process: `{health['last_process_loc']}`" + message = f"Last process: `{health['last_process_loc']}`\n" + message += f"Initial bot Start: `{health['bot_start_loc']}`\n" + message += f"Current bot Start: `{health['bot_startup_loc']}`" await self._send_msg(message) @authorized_only