From edb0641889beec0a59ca5e01addf5c5945c84bca Mon Sep 17 00:00:00 2001 From: HornetMaidan Date: Sat, 5 Oct 2024 00:53:58 +0500 Subject: [PATCH] fixed the ping formatting --- lainmonitor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lainmonitor.py b/lainmonitor.py index 178272b..0012e5c 100644 --- a/lainmonitor.py +++ b/lainmonitor.py @@ -86,7 +86,8 @@ def handle(message): bot.reply_to(message, 'work in progress...') elif message.text == '/ping': check_tailscale() - bot.reply_to(message, f'ping status: \n\n{reach}') + ping_status = '\n'.join(reach) + bot.reply_to(message, f'ping status:\n\n{ping_status}') #polling bot.polling() \ No newline at end of file