Skip to content

Commit fa96557

Browse files
committed
feat: modify discord embeds format
1 parent 1239705 commit fa96557

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ func format_discord_embeds(msg *GotifyMessage) []DiscordEmbed {
126126
Title: title,
127127
Description: desc,
128128
Color: color,
129-
Timestamp: time.Now().UTC().Format(time.RFC3339),
129+
Timestamp: msg.Date,
130130
Footer: &DiscordEmbedFooter{
131-
Text: fmt.Sprintf("Gotify Id: %d | Date: %s", msg.Id, msg.Date),
131+
Text: fmt.Sprintf("Gotify Id: %d", msg.Id),
132132
},
133133
}
134134
// For subsequent chunks, omit the title to avoid repetition

0 commit comments

Comments
 (0)