Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutableTemplate ¶
type ExecutableTemplate func(TemplateFields) (string, error)
type ResponseParts ¶
type ResponseParts struct { Reply ExecutableTemplate Message ExecutableTemplate }
func GetRandomAwaken ¶
func GetRandomAwaken() ResponseParts
func GetRandomCount ¶
func GetRandomCount() ResponseParts
func GetRandomFail ¶
func GetRandomFail() ResponseParts
func GetRandomHelpMessage ¶
func GetRandomHelpMessage() ResponseParts
func GetRandomOnConfigureMessage ¶
func GetRandomOnConfigureMessage() ResponseParts
func GetRandomRuleMessage ¶
func GetRandomRuleMessage() ResponseParts
type ResponseTemplate ¶
type ResponseTemplate struct { Fail []ResponseParts Count []ResponseParts Awaken []ResponseParts Rules []ResponseParts Help []ResponseParts OnConfigure []ResponseParts }
type TemplateFields ¶
type TemplateFields struct {
Username string
}
Click to show internal directories.
Click to hide internal directories.