An embed helper library for DiscordGo.
go get github.com/clinet/discordgo-embed
package main
import (
"github.com/bwmarrin/discordgo"
"github.com/Clinet/discordgo-embed"
)
// ...
discordSession.ChannelSendEmbed(channelID, embed.NewGenericEmbed("Example", "This is an example embed!"))
discordSession.ChannelSendEmbed(channelID, embed.NewErrorEmbed("Example Error", "This is an example error embed!"))
The source code for discordgo-embed is released under the MIT License. See LICENSE for more details.
All donations are appreciated and help me stay awake at night to work on this more. Even if it's not much, it helps a lot in the long run!