1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 07:16:40 +00:00

Bot now sends link to docs when /help is used

This commit is contained in:
Anson 2019-02-12 22:06:31 -07:00
parent f7c10209c3
commit 21fde3af80

View File

@ -29,8 +29,9 @@ def start(bot, update):
def help(bot, update):
"""Send a message when the command /help is issued."""
update.message.reply_text("I don't know how to help yet!")
"""Send link to docs when the command /help is issued."""
message = "[Please see the docs for Bot information](https://misterbiggs.gitlab.io/simple-telegram-bot)"
update.message.reply_text(text=message, parse_mode=telegram.ParseMode.MARKDOWN)
def news(bot, update):