tweaks
This commit is contained in:
@@ -17,3 +17,9 @@ func (d DiscordSender) Send(msg string) {
|
||||
}
|
||||
http.Post(d.Config.DiscordWebhook, "application/json", bytes.NewBuffer(b))
|
||||
}
|
||||
|
||||
func (d DiscordSender) SendBatch(msgs []string) {
|
||||
for _, msg := range msgs {
|
||||
d.Send(msg)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user