multiple discord senders

This commit is contained in:
2026-01-20 20:59:06 +01:00
parent 76933a04d8
commit 53e6eecb3f
9 changed files with 100 additions and 69 deletions
+13
View File
@@ -0,0 +1,13 @@
package lib
import "fmt"
type Message struct {
Channel string
Title string
URL string
}
func (m Message) ToDiscord() string {
return fmt.Sprintf("[%s](%s)", m.Title, m.URL)
}