mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +00:00
Bot now sends link to docs when /help is used
This commit is contained in:
parent
f7c10209c3
commit
21fde3af80
@ -29,8 +29,9 @@ def start(bot, update):
|
|||||||
|
|
||||||
|
|
||||||
def help(bot, update):
|
def help(bot, update):
|
||||||
"""Send a message when the command /help is issued."""
|
"""Send link to docs when the command /help is issued."""
|
||||||
update.message.reply_text("I don't know how to help yet!")
|
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):
|
def news(bot, update):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user