mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2025-06-16 06:56:46 +00:00
big where telegram auto command broke donations
This commit is contained in:
parent
55e4fe5d70
commit
9e72b8d834
2
bot.py
2
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user