Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecutor ¶
type CommandExecutor struct { Input chan *discordgo.Message // contains filtered or unexported fields }
func NewCommandExecutor ¶
func NewCommandExecutor(ctx discio.Context, timeout time.Duration) CommandExecutor
func (*CommandExecutor) Process ¶
func (ex *CommandExecutor) Process(finishedCallback func(mm *CommandExecutor))
func (*CommandExecutor) ShouldHandleMessage ¶
func (ex *CommandExecutor) ShouldHandleMessage(m *discordgo.Message) bool
type CommandRunner ¶
type ExecutorPlugin ¶
type ExecutorPlugin struct {
// contains filtered or unexported fields
}
func (*ExecutorPlugin) Init ¶
func (p *ExecutorPlugin) Init()
func (*ExecutorPlugin) MessageCreate ¶
func (p *ExecutorPlugin) MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate)
Click to show internal directories.
Click to hide internal directories.