From a6a379a9463be9e2cdfe2c3dc11e19280ab5afa9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 3 Mar 2016 14:56:45 +0100 Subject: [PATCH] Magari gli audio mandali come file. --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 350e85e6..87b25887 100644 --- a/bot.py +++ b/bot.py @@ -244,11 +244,12 @@ while True: cmd = text.split(" ", 1) if cmd[1] in audiolist: sendme = audiolist[cmd[1]] + telegram.senddocument(sendme, sentin, source) else: sendme = chr(9888) + " L'audio richiesto non esiste!\n*Audio disponibili*:\n" for audio in audiolist: sendme += audio + "\n" - telegram.sendmessage(sendme, sentin) + telegram.sendmessage(sendme, sentin, source) elif text.startswith('/sbam'): print("@" + username + ": /sbam") # Manda l'audio contenente gli sbam di tutti i membri Royal Games.