Documentation ¶
Overview ¶
Package shared provides variables and constants used across multiple packages.
Index ¶
Constants ¶
View Source
const Whitespace = " \n"
Variables ¶
View Source
var ErrorEmbedTemplate = func(l *i18n.Localizer) discord.Embed { title, _ := l.Localize(errorTitle) return discord.Embed{Title: title, Color: 0xff5a5a} }
ErrorEmbedTemplate is the global error embed template. See errors.SetErrorEmbed and errors.NewErrorEmbed for more information.
View Source
var InfoEmbedTemplate = func(l *i18n.Localizer) discord.Embed { title, _ := l.Localize(infoTitle) return discord.Embed{Title: title, Color: 0x6eb7b1} }
InfoEmbedTemplate is the global info embed template. See errors.SetInfoEmbed and errors.NewInfoEmbed for more information.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.