mirror of
https://github.com/Xevion/banner.git
synced 2025-12-06 09:14:24 -06:00
Expand search response fidelity, footer shortcut fn
This commit is contained in:
@@ -318,3 +318,9 @@ func RespondError(session *discordgo.Session, interaction *discordgo.Interaction
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
func GetFooter(time time.Time) *discordgo.MessageEmbedFooter {
|
||||
return &discordgo.MessageEmbedFooter{
|
||||
Text: fmt.Sprintf("Fetched at %s", time.Format("Monday, January 2, 2006 at 3:04:05PM")),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user