mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Constructors!
This commit is contained in:
parent
824273bef1
commit
3a4416799e
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ def getUpdates():
|
|||
if(data['result'] != []):
|
||||
#Aggiorna l'update ID sul file
|
||||
writeFile("lastid.txt", str(data['result'][0]['update_id'] + 1))
|
||||
parametri['offset'] = str(int(parametri['offset']) + 1)
|
||||
#...esiste il messaggio? telegram wtf
|
||||
if(data['result'][0]['message'] != None):
|
||||
if(data['result'][0]['message']['text'] != ""):
|
||||
|
|
Loading…
Reference in a new issue