mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
asdfasfd
This commit is contained in:
parent
8c58d26a5e
commit
8eb11f2a95
2 changed files with 2 additions and 3 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("BQADAgAD3gEAAh8GgAERl79Zxv0SOQI", sby)
|
||||
telegram.sendAudio("BQADAgAD3wEAAh8GgAE6ZnLP5_gFMwI", sby)
|
|
@ -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."""
|
||||
|
|
Loading…
Reference in a new issue