Compare commits

...
Author SHA1 Message Date
callebtc 5033f2dbd4 webhook for group 2023-01-22 12:51:24 +01:00
+4 -3
View File
@@ -158,9 +158,10 @@ func (bot *TipBot) stopJoinTicketTimer(event Event) {
} }
invoice, err := me.Wallet.Invoice( invoice, err := me.Wallet.Invoice(
lnbits.InvoiceParams{ lnbits.InvoiceParams{
Out: false, Out: false,
Amount: commission, Amount: commission,
Memo: fmt.Sprintf("Ticket for group %d", ticket.Message.Chat.ID)}, Memo: "🎟 Ticket commission",
Webhook: internal.Configuration.Lnbits.WebhookServer},
bot.Client) bot.Client)
if err != nil { if err != nil {
log.Errorf("[stopJoinTicketTimer] %v", err) log.Errorf("[stopJoinTicketTimer] %v", err)