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

pull/9922/head
Matthias 2 years ago
parent acbb485302
commit f8cbf138ee

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

Loading…
Cancel
Save