1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-30 15:04:18 +00:00

Merge pull request #1 from DrHeisenberg/patch-1

Update bot.py
This commit is contained in:
Steffo 2016-01-07 13:14:04 +01:00
commit 886f5e4918

3
bot.py
View file

@ -272,6 +272,9 @@ while True:
text = str("[" + r['name'] + "](" + r['img'] + ")\n" +
str(r['health']) + " salute\n")
telegram.sendmessage(text, sby)
elif(cmd[0].startswith('/everyonegetinhere')):
print(unm + ": /everyonegetinhere")
telegram.sendMessage("@ActerRY \n@Adry99 \n@Alleanderl \n@Boni3099 \n@Cosimo03 \n@EnriBenassati \n@EvilBalu \n@FrankRekt \n@Fultz \n@GoToB \n@HeisenDoc \n@iEmax \n@IlGattopardo \n@MaxSensei \n@MRdima98 \n@Peramela99 \n@RuoziR \n@SuperSmurf \n@Steffo \n@Tauei \n@thevagginadestroyer \n@Vivalafigliadellortolano \n@Voltaggio", sby)
elif cmd[0].startswith('/restart'):
if unm == "@Steffo":
telegram.sendmessage("Riavvio confermato.", sby)