mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-30 15:04:18 +00:00
Whoops.
This commit is contained in:
parent
e0072abc3f
commit
06c1a3ecde
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -15,7 +15,7 @@ while(True):
|
||||||
elif(cmd[0].startswith('/start')):
|
elif(cmd[0].startswith('/start')):
|
||||||
telegram.sendMessage("Ascolta, io mi starto quando mi pare. Anzi, quando @Steffo ha voglia di aprirmi.", sby)
|
telegram.sendMessage("Ascolta, io mi starto quando mi pare. Anzi, quando @Steffo ha voglia di aprirmi.", sby)
|
||||||
elif(cmd[0].startswith('/playing')):
|
elif(cmd[0].startswith('/playing')):
|
||||||
if(len(cmd) >= 1):
|
if(len(cmd) >= 2):
|
||||||
n = steam.getNumberOfCurrentPlayers(cmd[1])
|
n = steam.getNumberOfCurrentPlayers(cmd[1])
|
||||||
if(n == None):
|
if(n == None):
|
||||||
telegram.sendMessage(chr(9888) + " L'app specificata non esiste!", sby)
|
telegram.sendMessage(chr(9888) + " L'app specificata non esiste!", sby)
|
||||||
|
|
Loading…
Reference in a new issue