1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

sistemato l'ennesimo crash

This commit is contained in:
Steffo 2015-11-20 16:34:54 +01:00
parent 506955c213
commit 65fa175539

1
bot.py
View file

@ -24,6 +24,7 @@ print("Bot avviato!")
while True:
# Guarda il comando ricevuto.
msg = telegram.getupdates()
if 'text' in msg:
cmd = msg['text'].split(' ', 1)
sby = msg['chat']['id']
if cmd[0].startswith('/ahnonlosoio'):