repositorypackage
0.1.3
Repository: https://github.com/moltencoredev/webgook.git
Documentation: pkg.go.dev
# README
webgook
A simple discord go library to send webhooks.
Example
package main
import "github.com/MoltenCoreDev/webgook"
func main() {
wh := Webhook{
Url: "https://discord.com/api/webhooks/id/token", // You can copy this from the channel settings, where you create the webhook
Username: "Use discohook today!",
Content: "Now with attachment support!",
Files: []string{"input.gif"},
}
wh.Send()
}