Expand search response fidelity, footer shortcut fn

This commit is contained in:
2024-01-18 02:11:43 -06:00
parent 076291de8e
commit 26bdad9c94
2 changed files with 20 additions and 10 deletions

View File

@@ -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")),
}
}