From 2bb825d7216840d1b142cfa29af17e2db5f32215 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Thu, 18 Nov 2021 17:21:52 +0000 Subject: [PATCH] quick debug of trending error --- bot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index a370a4f..c8f1444 100644 --- a/bot.py +++ b/bot.py @@ -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, )