1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-07-25 23:51:32 +00:00

upgraded /start and /help + donation info

This commit is contained in:
2020-05-21 01:36:25 -07:00
parent 7e7fbbceb2
commit 9c0abb0946
3 changed files with 69 additions and 28 deletions

10
bot.py
View File

@@ -29,13 +29,17 @@ print("Bot Online")
def start(update, context):
"""Send a message when the command /start is issued."""
update.message.reply_text("I am started and ready to go!")
update.message.reply_text(
text=Symbol.help_text, parse_mode=telegram.ParseMode.MARKDOWN
)
def help(update, context):
"""Send link to docs when the command /help is issued."""
message = "[Please see the documentaion for Bot information](https://simple-stock-bots.gitlab.io/site/telegram/)"
update.message.reply_text(text=message, parse_mode=telegram.ParseMode.MARKDOWN)
update.message.reply_text(
text=Symbol.help_text, parse_mode=telegram.ParseMode.MARKDOWN
)
def symbol_detect(update, context):