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

big where telegram auto command broke donations

This commit is contained in:
Anson 2021-08-13 19:59:29 -07:00
parent 55e4fe5d70
commit 9e72b8d834

2
bot.py
View File

@ -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,