From 0bac96cbd77cbe9d1ee5cab511ea7fb8991fe3d7 Mon Sep 17 00:00:00 2001 From: Anson Date: Thu, 26 Aug 2021 10:26:14 -0700 Subject: [PATCH] Closes #73 --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 169911c..f21a789 100644 --- a/bot.py +++ b/bot.py @@ -116,12 +116,12 @@ def donate(update: Update, context: CallbackContext): except ValueError: update.message.reply_text(f"{amount} is not a valid donation amount or number.") return - info(f"Donation amount: {price}") + info(f"Donation amount: {price} by {update.message.chat.username}") context.bot.send_invoice( chat_id=chat_id, title="Simple Stock Bot Donation", - description=f"Simple Stock Bot Donation of ${amount}", + description=f"Simple Stock Bot Donation of ${amount} by {update.message.chat.username}", payload=f"simple-stock-bot-{chat_id}", provider_token=STRIPE_TOKEN, currency="USD",