mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
papapapapaaaa
This commit is contained in:
parent
1c1eb78a33
commit
8c58d26a5e
2 changed files with 3 additions and 2 deletions
2
bot.py
2
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)
|
||||
telegram.sendAudio("BQADAgAD3gEAAh8GgAERl79Zxv0SOQI", sby)
|
|
@ -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."""
|
||||
|
|
Loading…
Reference in a new issue