Skip to content

Commit

Permalink
Merge pull request #11
Browse files Browse the repository at this point in the history
versiontracking
  • Loading branch information
IshaanRao authored Jul 14, 2023
2 parents 63e727b + 4010b41 commit 8838450
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fragbots/logging/embeds.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

const FooterIcon = "https://cdn.discordapp.com/emojis/823999418592264232.webp?size=240&quality=lossless"
const DefaultEmbedColor = 3388927
const Version = "3.0.2"

// https://github.com/bensch777/discord-webhook-golang/blob/v0.0.5/discordwebhook.go

Expand Down Expand Up @@ -71,7 +72,7 @@ func SendEmbed(webhook string, username string, description string) {
Description: description,
Color: DefaultEmbedColor,
Footer: Footer{
Text: "FragBots",
Text: "FragBots `" + Version + "`",
IconUrl: FooterIcon,
},
Timestamp: time.Now(),
Expand All @@ -93,7 +94,7 @@ func SendEmbedThumbnail(webhook string, username string, description string, thu
Description: description,
Color: DefaultEmbedColor,
Footer: Footer{
Text: "FragBots",
Text: "FragBots `" + Version + "`",
IconUrl: FooterIcon,
},
Timestamp: time.Now(),
Expand Down

0 comments on commit 8838450

Please sign in to comment.