Skip to content

Commit

Permalink
no title
Browse files Browse the repository at this point in the history
  • Loading branch information
evandeters committed Sep 24, 2024
1 parent f783d22 commit 9dfa75b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kamino.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ func doAPIRequest(verb, endpoint string, data map[string]any) (*http.Response, e

func sendErrorEmbed(s *discordgo.Session, i *discordgo.InteractionCreate, err error) {
embed := embed.NewEmbed()
embed.SetTitle("Error")
embed.SetColor(0xff0000)
embed.Fields = append(embed.Fields, &discordgo.MessageEmbedField{
Name: "ERROR",
Expand All @@ -209,7 +208,6 @@ func sendErrorEmbed(s *discordgo.Session, i *discordgo.InteractionCreate, err er

func sendSuccessEmbed(s *discordgo.Session, i *discordgo.InteractionCreate, message string) {
embed := embed.NewEmbed()
embed.SetTitle("Success")
embed.SetColor(0x00ff00)
embed.Fields = append(embed.Fields, &discordgo.MessageEmbedField{
Name: "SUCCESS",
Expand Down

0 comments on commit 9dfa75b

Please sign in to comment.