From 8c58d26a5ebc328cff75f98e01291e405a610a59 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 6 Oct 2015 18:21:37 +0200 Subject: [PATCH] papapapapaaaa --- bot.py | 2 +- telegram.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index b376cf7e..7c7aa198 100644 --- a/bot.py +++ b/bot.py @@ -35,4 +35,4 @@ while(True): telegram.sendMessage(chr(9888) + " Non hai specificato un gioco! [Visualizza tutte le offerte](https://isthereanydeal.com/#/search:.;/scroll:%23gamelist).", sby) elif(cmd[0].startswith('/rage')): print('/rage') - telegram.sendAudio("BQADAgAD3QEAAh8GgAFVqHhBraLsRwI", sby) \ No newline at end of file + telegram.sendAudio("BQADAgAD3gEAAh8GgAERl79Zxv0SOQI", sby) \ No newline at end of file diff --git a/telegram.py b/telegram.py index e4db4a20..b100a9f4 100644 --- a/telegram.py +++ b/telegram.py @@ -51,7 +51,8 @@ def sendAudio(audio, to): 'audio': audio, } #Manda la richiesta ai server di Telegram. - requests.get("https://api.telegram.org/bot" + telegramtoken + "/sendAudio", params=parametri) + r = requests.get("https://api.telegram.org/bot" + telegramtoken + "/sendAudio", params=parametri) + print(r) def sendLocation(lat, long, to): """Manda una posizione sulla mappa."""