Add client list in tokens.

This commit is contained in:
Ceda EI 2019-05-21 16:04:06 +05:30
parent 514117a079
commit 1cc0743061
1 changed files with 6 additions and 2 deletions

8
bot.py
View File

@ -401,9 +401,13 @@ def tokens(bot, update):
reply_markup = telegram.ReplyKeyboardMarkup(custom_keyboard) reply_markup = telegram.ReplyKeyboardMarkup(custom_keyboard)
reply_text = ("Tokens are used to authenticate external " reply_text = ("Tokens are used to authenticate external "
"applications. This only provides access to " "applications. This only provides access to "
"Questable data.") "Questable data.\n"
"\nOfficial clients are:\n"
"[Questable CLI](https://gitlab.com/questable/questable-cli)"
)
bot.send_message(chat_id=update.message.chat_id, text=reply_text, bot.send_message(chat_id=update.message.chat_id, text=reply_text,
reply_markup=reply_markup) reply_markup=reply_markup, parse_mode="markdown",
disable_web_page_preview=True)
def add_token(bot, update, player): def add_token(bot, update, player):