Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CommandHandler struct { Prefix string Commands []CommandRoute }
func New ¶
func New(opts Options) *CommandHandler
func (*CommandHandler) Handle ¶
func (c *CommandHandler) Handle(ctx *gocord.Context)
func (*CommandHandler) On ¶
func (c *CommandHandler) On(command string, handler Command) *CommandRoute
type CommandRoute ¶
Click to show internal directories.
Click to hide internal directories.