Add Initial bot start and current bot start to /health telegram msg

This commit is contained in:
Matthias
2024-03-09 15:47:01 +01:00
parent acbb485302
commit f8cbf138ee

View File

@@ -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