From 21fde3af80e64585db8e1a4d364108332866e65e Mon Sep 17 00:00:00 2001 From: Anson Date: Tue, 12 Feb 2019 22:06:31 -0700 Subject: [PATCH] Bot now sends link to docs when /help is used --- bot/stockBot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot/stockBot.py b/bot/stockBot.py index 36f8ece..5af50d0 100644 --- a/bot/stockBot.py +++ b/bot/stockBot.py @@ -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):