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

Turn off error messages until trending error is figured out

This commit is contained in:
Anson Biggs 2021-09-02 21:50:40 +00:00
parent 82469f1034
commit 28a3ff2960

8
bot.py
View File

@ -531,10 +531,10 @@ def error(update: Update, context: CallbackContext):
else:
warning(tb_string)
update.message.reply_text(
text=f"An error has occured. Please inform @MisterBiggs if the error persists. Error Code: `{err_code}`",
parse_mode=telegram.ParseMode.MARKDOWN,
)
# update.message.reply_text(
# text=f"An error has occured. Please inform @MisterBiggs if the error persists. Error Code: `{err_code}`",
# parse_mode=telegram.ParseMode.MARKDOWN,
# )
# Finally, send the message
# update.message.reply_text(text=message, parse_mode=telegram.ParseMode.HTML)