mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
sistemato l'ennesimo crash
This commit is contained in:
parent
506955c213
commit
65fa175539
1 changed files with 75 additions and 74 deletions
1
bot.py
1
bot.py
|
@ -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'):
|
||||
|
|
Loading…
Reference in a new issue