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:
4
bot.py
4
bot.py
@@ -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,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user