1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-07-26 08:01:26 +00:00
This commit is contained in:
2021-01-24 12:28:40 -07:00
parent c4d984a751
commit f184fbe51d
2 changed files with 6 additions and 5 deletions

4
bot.py
View File

@@ -197,13 +197,13 @@ def crypto(update, context):
)
message = update.message.text
reply = s.crypto(message)
reply = s.crypto_reply(message)
if reply:
update.message.reply_text(text=reply, parse_mode=telegram.ParseMode.MARKDOWN)
else:
update.message.reply_text(
text=f"Pair: f{message} returned an error.",
text=f"Pair: {message} returned an error.",
parse_mode=telegram.ParseMode.MARKDOWN,
)