1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

papapapapaaaa

This commit is contained in:
Steffo 2015-10-06 18:21:37 +02:00
parent 1c1eb78a33
commit 8c58d26a5e
2 changed files with 3 additions and 2 deletions

2
bot.py
View file

@ -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) 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')): elif(cmd[0].startswith('/rage')):
print('/rage') print('/rage')
telegram.sendAudio("BQADAgAD3QEAAh8GgAFVqHhBraLsRwI", sby) telegram.sendAudio("BQADAgAD3gEAAh8GgAERl79Zxv0SOQI", sby)

View file

@ -51,7 +51,8 @@ def sendAudio(audio, to):
'audio': audio, 'audio': audio,
} }
#Manda la richiesta ai server di Telegram. #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): def sendLocation(lat, long, to):
"""Manda una posizione sulla mappa.""" """Manda una posizione sulla mappa."""