deleted debugbot
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user