Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MsgDefaultHelp is what is shown when ?help is entered with no arguments.
MsgDefaultHelp = "Type `?help` for this message, `?list` to list all commands, or `?help <command>` to get help for a particular command."
)
View Source
const (
// MsgHelpHelp prints the results of ?help help
MsgHelpHelp = "Get help for help."
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor prints help text for help commands.
func NewExecutor ¶
NewExecutor works as advertised.
func (*Executor) PublicOnly ¶
PublicOnly returns whether the executor should be intercepted in a private channel.
type Feature ¶
type Feature struct {
// contains filtered or unexported fields
}
Feature is a Feature that prints a help prompt for the user.
func NewFeature ¶
NewFeature returns a new Feature.
func (*Feature) CommandInterceptors ¶
func (f *Feature) CommandInterceptors() []feature.CommandInterceptor
CommandInterceptors returns nothing.
func (*Feature) FallbackParser ¶
FallbackParser returns nil.
func (*Feature) OnInitialLoad ¶
func (f *Feature) OnInitialLoad(s api.DiscordSession) error
OnInitialLoad does nothing.
Click to show internal directories.
Click to hide internal directories.