From 46aaabd71e947abda41fc71ae0981f90d9b19fb3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 15 Feb 2016 18:19:52 +0100 Subject: [PATCH] =?UTF-8?q?Reso=20pi=C3=B9=20chiaro=20il=20codice=20di=20/?= =?UTF-8?q?osu=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/bot.py b/bot.py index 46f61f2e..8da2d756 100644 --- a/bot.py +++ b/bot.py @@ -312,19 +312,26 @@ while True: elif mode == 1: # Visualizza le informazioni relative alla modalità osu!taiko telegram.sendmessage("*osu!taiko*\n" - "[Beatmap " + r['beatmap_id'] + "](" + 'https://osu.ppy.sh/b/' + r[ - 'beatmap_id'] + - ")\n*" + r['rank'] + "*\n" + mods + - "\n*Punti*: " + r['score'] + "\n" - "*Combo* x" + r['maxcombo'] + "\n" - "*Great*: " + - r['count300'] + "\n" - "*Good*: " + r['count100'] + "\n" - "_Large_ *Great*: " + r[ - 'countkatu'] + "\n" - "_Large_ *Good*: " + r['countgeki'] + "\n" - "*Bad*: " + r[ - 'countmiss'], sentin, source) + "[Beatmap {0}](https://osu.ppy.sh/b/{0})\n" + "*{1}*\n" + "{2}\n" + "*Punti*: {3}\n" + "*Combo* x{4}\n" + "*Great*: {5}\n" + "*Good*: {6}\n" + "_Large_ *Great*: {7}\n" + "_Large_ *Good*: {8}\n" + "*Miss*: {9}" + .format(r['beatmap_id'], + r['rank'], + mods, + r['score'], + r['maxcombo'], + r['count300'], + r['count100'], + r['countkatu'], + r['countgeki'], + r['countmiss']), sentin, source) elif mode == 2: # Visualizza le informazioni relative alla modalità osu!catch telegram.sendmessage("*osu!catch*\n"