https://github.com/clinet/discordgo-embed
An embed helper library for DiscordGo
https://github.com/clinet/discordgo-embed
discord discord-bot discordgo embed go golang helper
Last synced: about 1 year ago
JSON representation
An embed helper library for DiscordGo
- Host: GitHub
- URL: https://github.com/clinet/discordgo-embed
- Owner: Clinet
- License: mit
- Created: 2019-04-11T04:03:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-13T22:20:25.000Z (over 4 years ago)
- Last Synced: 2025-04-04T18:12:25.718Z (about 1 year ago)
- Topics: discord, discord-bot, discordgo, embed, go, golang, helper
- Language: Go
- Size: 4.88 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discordgo-embed
[](https://godoc.org/github.com/Clinet/discordgo-embed)
[](https://goreportcard.com/report/github.com/Clinet/discordgo-embed)
An embed helper library for DiscordGo.
# Installing
`go get github.com/clinet/discordgo-embed`
# Example
```
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!"))
```
## License
The source code for discordgo-embed is released under the MIT License. See [LICENSE](https://raw.githubusercontent.com/clinet/discordgo-embed/master/LICENSE) for more details.
## Donations
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!
[](https://paypal.me/JoshuaDoes)