1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 07:16:40 +00:00

quick debug of trending error

This commit is contained in:
Anson Biggs 2021-11-18 17:21:52 +00:00
parent 78d3447439
commit 2bb825d721

5
bot.py
View File

@ -469,8 +469,11 @@ def trending(update: Update, context: CallbackContext):
context.bot.send_chat_action(chat_id=chat_id, action=telegram.ChatAction.TYPING)
trending_list = s.trending()
info(trending_list)
update.message.reply_text(
text=s.trending(),
text=trending_list,
parse_mode=telegram.ParseMode.MARKDOWN,
disable_notification=True,
)