Documentation
¶
Index ¶
- type Default
- type DefaultCommand
- func (dc *DefaultCommand) Aliases() []string
- func (dc *DefaultCommand) Description() string
- func (dc *DefaultCommand) Execute(bot common.Bot, user common.User, params common.ExecuteParams) (string, []*common.Attachment, error)
- func (dc *DefaultCommand) Name() string
- func (dc *DefaultCommand) Params() []string
- type DefaultConfig
- type DefaultOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Default ¶
type Default struct {
// contains filtered or unexported fields
}
func NewDefault ¶
func NewDefault(name string, options DefaultOptions, observability *common.Observability, processors *common.Processors) *Default
func (*Default) AddCommand ¶
type DefaultCommand ¶
type DefaultCommand struct {
// contains filtered or unexported fields
}
func (*DefaultCommand) Aliases ¶ added in v0.0.3
func (dc *DefaultCommand) Aliases() []string
func (*DefaultCommand) Description ¶
func (dc *DefaultCommand) Description() string
func (*DefaultCommand) Execute ¶
func (dc *DefaultCommand) Execute(bot common.Bot, user common.User, params common.ExecuteParams) (string, []*common.Attachment, error)
func (*DefaultCommand) Name ¶
func (dc *DefaultCommand) Name() string
func (*DefaultCommand) Params ¶
func (dc *DefaultCommand) Params() []string
type DefaultConfig ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.