Skip to content
Snippets Groups Projects
Commit 5f6a6a71 authored by Reviath's avatar Reviath
Browse files

Update embed.go

parent 86b51dd7
Branches
No related tags found
No related merge requests found
...@@ -292,3 +292,10 @@ func NormalEmbed(embedTitle string, embedDescription string, Color int, imageURL ...@@ -292,3 +292,10 @@ func NormalEmbed(embedTitle string, embedDescription string, Color int, imageURL
AddField(embedFieldName, embedFieldValue).MessageEmbed AddField(embedFieldName, embedFieldValue).MessageEmbed
return normalEmbed return normalEmbed
} }
func Embed(embedDescription string, Color int) *discordgo.MessageEmbed {
embed := NewEmbed().
SetDescription(embedDescription).
SetColor(Color).MessageEmbed
return embed
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment