From 9e72b8d834cd7a8c1bede965b9f833e3d8611095 Mon Sep 17 00:00:00 2001 From: Anson Date: Fri, 13 Aug 2021 19:59:29 -0700 Subject: [PATCH] big where telegram auto command broke donations --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index f18e638..9b20481 100644 --- a/bot.py +++ b/bot.py @@ -101,7 +101,7 @@ def donate(update: Update, context: CallbackContext): info(f"Donate command ran by {update.message.chat.username}") chat_id = update.message.chat_id - if update.message.text.strip() == "/donate": + if update.message.text.strip() == "/donate" or "/donate@" in update.message.text: update.message.reply_text( text=t.donate_text, parse_mode=telegram.ParseMode.MARKDOWN,