Merge pull request #403 from LightningTipBot/dalle_refund_username

username for refund
This commit is contained in:
calle 2022-08-30 21:50:48 +02:00 committed by GitHub
commit f19a6dd6cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,7 +217,7 @@ func (bot *TipBot) dalleRefundUser(user *lnbits.User) error {
lnbits.InvoiceParams{
Out: false,
Amount: int64(internal.Configuration.Generate.DallePrice),
Memo: "Refund for /generate",
Memo: fmt.Sprintf("Refund DALLE2 %s", GetUserStr(user.Telegram)),
Webhook: internal.Configuration.Lnbits.WebhookServer},
bot.Client)
if err != nil {