This commit is contained in:
2026-01-20 01:00:09 +01:00
parent 8bd16b99f0
commit b22e72c28f

View File

@@ -3,6 +3,7 @@ package lib
import ( import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"log"
"net/http" "net/http"
) )
@@ -21,6 +22,10 @@ func (d DiscordSender) Send(msg string) {
func (d DiscordSender) SendBatch(msgs []string) { func (d DiscordSender) SendBatch(msgs []string) {
for _, msg := range msgs { for _, msg := range msgs {
log.Println("Sending to Discord:", msg)
if d.Fake {
continue
}
d.Send(msg) d.Send(msg)
} }
} }