Documentation
¶
Overview ¶
Package command is an interface for defining bot commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface {
// Executes the command with args passed in
Exec(args ...string) ([]byte, error)
// Usage of the command
Usage() string
// Description of the command
Description() string
// Name of the command
String() string
}
Command is the interface for specific named commands executed via plugins or the bot.
Source Files
¶
- command.go
Click to show internal directories.
Click to hide internal directories.