fixed the ping formatting

This commit is contained in:
HornetMaidan 2024-10-05 00:53:58 +05:00
parent da49859b9d
commit edb0641889

View file

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