diff --git a/bot.py b/bot.py index 9b20481..9768d0f 100644 --- a/bot.py +++ b/bot.py @@ -210,6 +210,8 @@ def news(update: Update, context: CallbackContext): message = update.message.text chat_id = update.message.chat_id + update.message.reply_text("The bot is currently running on a free plan which does not include news information. Please see the `/donate` command to see ways that you can help.") + if message.strip().split("@")[0] == "/news": update.message.reply_text( "This command gives the most recent english news for a symbol.\nExample: /news $tsla" @@ -530,7 +532,7 @@ def error(update: Update, context: CallbackContext): warning(tb_string) update.message.reply_text( - text=f"An error has occured. Please inform @MisterBiggs if the error persists. Error Code: `{err_code}`", + text=f"An error has occured. Please inform @MisterBiggs if the error persists. Error Code: `{err_code}`\nThe bot is currently running on a free plan for stock market data so not all information is currently available. Please see `/donate` if you would like to help.", parse_mode=telegram.ParseMode.MARKDOWN, )