diff --git a/bot.py b/bot.py index 65281d2..e6e0139 100644 --- a/bot.py +++ b/bot.py @@ -43,7 +43,7 @@ def on_chat(msg): command = msg['text'].replace(NAME, '').replace('_', ' ').lower().split(' ') # test connection - elif command[0] == '/ping': + if command[0] == '/ping': bot.sendMessage(chat_id, "*PONG*", parse_mode='Markdown', reply_to_message_id=msg['message_id'])