deleted debugbot

This commit is contained in:
Linus E
2022-03-15 14:36:04 +01:00
parent 05d2b37482
commit c0d2b8a679
2 changed files with 1 additions and 105 deletions

View File

@@ -98,7 +98,7 @@ def send_news(message):
except IndexError:
bot.send_message(chat_id=user_id, text=f"no news currently available for keyword: {keyword}")
return
bot.send_message(chat_id=user_id, text=formatted_article)
bot.send_message(chat_id=user_id, text=f"_keyword: {keyword}_\n\n" + formatted_article, parse_mode="MARKDOWN")
@bot.message_handler(func=lambda message: True) # Returning that command is unkown for any other statement