diff --git a/bot.py b/bot.py index 7c7aa198..176604b6 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("BQADAgAD3gEAAh8GgAERl79Zxv0SOQI", sby) \ No newline at end of file + telegram.sendAudio("BQADAgAD3wEAAh8GgAE6ZnLP5_gFMwI", sby) \ No newline at end of file diff --git a/telegram.py b/telegram.py index b100a9f4..e4db4a20 100644 --- a/telegram.py +++ b/telegram.py @@ -51,8 +51,7 @@ def sendAudio(audio, to): 'audio': audio, } #Manda la richiesta ai server di Telegram. - r = requests.get("https://api.telegram.org/bot" + telegramtoken + "/sendAudio", params=parametri) - print(r) + requests.get("https://api.telegram.org/bot" + telegramtoken + "/sendAudio", params=parametri) def sendLocation(lat, long, to): """Manda una posizione sulla mappa."""