We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd498de commit 0f8f658Copy full SHA for 0f8f658
examples/echobot.py
@@ -53,13 +53,13 @@ def echo(bot):
53
chat_id = update.message.chat_id
54
reply_text = update.message.text
55
56
- if (reply_text):
+ if reply_text:
57
# Reply the message
58
bot.sendMessage(chat_id=chat_id,
59
text=reply_text)
60
61
- # Updates global offset to get the new updates
62
- LAST_UPDATE_ID = update.update_id + 1
+ # Updates global offset to get the new updates
+ LAST_UPDATE_ID = update.update_id + 1
63
64
65
if __name__ == '__main__':
0 commit comments