mirror of
https://github.com/Xevion/banner.git
synced 2025-12-09 16:06:32 -06:00
Use Central Time for footer embed
This commit is contained in:
@@ -341,7 +341,7 @@ func RespondError(session *discordgo.Session, interaction *discordgo.Interaction
|
||||
|
||||
func GetFetchedFooter(time time.Time) *discordgo.MessageEmbedFooter {
|
||||
return &discordgo.MessageEmbedFooter{
|
||||
Text: fmt.Sprintf("Fetched at %s", time.Format("Monday, January 2, 2006 at 3:04:05PM")),
|
||||
Text: fmt.Sprintf("Fetched at %s", time.In(CentralTimeLocation).Format("Monday, January 2, 2006 at 3:04:05PM")),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user