Skip to content
Snippets Groups Projects
Commit 46e5e22e authored by Reviath's avatar Reviath
Browse files

Update embed.go

parent 84d29cd9
Branches
No related tags found
No related merge requests found
......@@ -299,3 +299,11 @@ func DescriptionWithColorEmbed(embedDescription string, Color int) *discordgo.Me
SetColor(Color).MessageEmbed
return descriptionWithColorEmbed
}
func TitleWithDescriptionAndColorEmbed(embedDescription string, embedTitle string, Color int) *discordgo.MessageEmbed {
titleWithDescriptionAndColorEmbed := NewEmbed().
SetDescription(embedDescription).
SetTitle(embedTitle).
SetColor(Color).MessageEmbed
return titleWithDescriptionAndColorEmbed
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment