1
0

Add version information on help message

This commit is contained in:
Akbar Rahman 2018-08-23 15:04:23 +01:00
parent 366669e6ab
commit c65fd52f19
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

1
bot.py
View File

@ -383,6 +383,7 @@ def user_help_info(chat_id):
""" """
with open('help.md') as help_file: with open('help.md') as help_file:
text = help_file.read() text = help_file.read()
text += "\ntodo.txt bot for Telegram version 1"
text += "\n[View help on GitHub](alvierahman90.github.io/todo.txt_telegram/help.html)" text += "\n[View help on GitHub](alvierahman90.github.io/todo.txt_telegram/help.html)"
BOT.sendMessage(chat_id, text, parse_mode='Markdown') BOT.sendMessage(chat_id, text, parse_mode='Markdown')