Documentation
¶
Index ¶
- func NewBot(token string, router Router, prefixer Prefixer) *bot
- func ReflectArgs(handler Handler, ctx Context, args []string) ([]reflect.Value, error)
- func Wait()
- func WaitForMessage(s *discordgo.Session) chan *discordgo.MessageCreate
- type Category
- type Command
- type CommandHandler
- type Context
- type Handler
- type Parser
- type Prefixer
- type Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReflectArgs ¶
func WaitForMessage ¶
func WaitForMessage(s *discordgo.Session) chan *discordgo.MessageCreate
Types ¶
type CommandHandler ¶
type CommandHandler interface{}
type Context ¶
type Parser ¶
func DefaultParser ¶
func DefaultParser() Parser
type Router ¶
func (*Router) AddCommand ¶
Click to show internal directories.
Click to hide internal directories.