From 40f012dd9dfa020c110aaad119751e1406441470 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 14 Feb 2016 16:31:29 +0100 Subject: [PATCH] Formattazione in /cv --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index abd55427..46f61f2e 100644 --- a/bot.py +++ b/bot.py @@ -611,7 +611,7 @@ while True: # Informa Telegram che il messaggio รจ stato ricevuto. telegram.sendchataction(sentin) r = mumbleboxes.getserverstatus("https://www.mumbleboxes.com/servers/5454/cvp.json").json() - tosend = "Utenti online:\n" + tosend = "*Utenti online:*\n" for u in r['root']['users']: if not u['mute']: if u['selfDeaf']: @@ -630,7 +630,7 @@ while True: tosend += chr(128264) + " " else: tosend += chr(128266) + " " - tosend += u['name'] + " | " + ch['name'] + "\n" + tosend += u['name'] + " | _" + ch['name'] + "_\n" telegram.sendmessage(tosend, sentin, source) elif text.startswith('/diario'): # Aggiungi una riga al diario Royal Games