Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WittyModule ¶
type WittyModule struct {
// contains filtered or unexported fields
}
WittyModule is intended for any witty comments sweetie bot makes in response to what users say or do.
func (*WittyModule) Commands ¶
func (w *WittyModule) Commands() []bot.Command
Commands in the module
func (*WittyModule) Description ¶
func (w *WittyModule) Description(info *bot.GuildInfo) string
Description of the module
func (*WittyModule) OnMessageCreate ¶
func (w *WittyModule) OnMessageCreate(info *bot.GuildInfo, m *discordgo.Message)
OnMessageCreate discord hook
func (*WittyModule) UpdateRegex ¶
func (w *WittyModule) UpdateRegex(info *bot.GuildInfo) bool
UpdateRegex updates the witty module regex
Click to show internal directories.
Click to hide internal directories.