Versions in this module Expand all Collapse all v1 v1.2.2 Aug 29, 2020 Changes in this version + var Console = ConsoleLogger + type ArgType int + const EmojiArg + const NumericArg + const TextArg + type Argument struct + Default string + Descriptor string + IsOptional bool + IsQuoted bool + Name string + Type ArgType + UseRemainder bool + type ArgumentError struct + Arguments []Argument + func (argError *ArgumentError) Error() string + type Command struct + Aliases []string + Arguments []Argument + Description string + Inhibitor interface{} + Name string + Private bool + Run func(ctx CommandContext) + type CommandContext struct + Args []string + Client *disgord.Client + Command *Command + CommandString string + Gourd *Gourd + Message *disgord.Message + Prefix string + func (ctx *CommandContext) Author() *disgord.User + func (ctx *CommandContext) AuthorMember() *disgord.Member + func (ctx *CommandContext) Guild() (*disgord.Guild, error) + func (ctx *CommandContext) IsAuthorOwner() bool + func (ctx *CommandContext) IsPrivate() bool + func (ctx *CommandContext) Reply(data ...interface{}) (*disgord.Message, error) + type ConsoleLogger struct + func (ConsoleLogger) Debug(m ...interface{}) + func (ConsoleLogger) Err(m ...interface{}) + func (ConsoleLogger) Info(m ...interface{}) + type Gourd struct + func New(token string, ownerId string, defaultPrefix string) *Gourd + func (bot *Gourd) AddKeyword(userId string, keyword string) + func (bot *Gourd) AddModule(mdl *Module) *Gourd + func (bot *Gourd) AddModules(modules ...*Module) *Gourd + func (bot *Gourd) Connect() error + func (bot *Gourd) HasKeyword(userId string, keyword string) bool + type Handler struct + Commands []*Command + Listeners []*ListenerHandler + Modules []*Module + func (handler *Handler) AddModule(mdl *Module) *Module + func (handler *Handler) GetCommandMap() map[string]*Command + func (handler *Handler) GetModuleMap() map[string]*Module + type KeywordInhibitor struct + Response interface{} + Value string + type Listener struct + Middlewares []MiddlewareHandler + OnEvent func(session disgord.Session, event struct{}) + Type string + type ListenerHandler interface + OnEvent func(disgord.Session, interface{}) + type Logger interface + Debug func(m ...interface{}) + Err func(m ...interface{}) + Info func(m ...interface{}) + type Middleware struct + type MiddlewareHandler interface + type Module struct + Commands []*Command + Description string + Listeners []*ListenerHandler + Name string + func (module *Module) AddCommand(cmd *Command) *Module + func (module *Module) AddCommands(cmds ...*Command) *Module + func (module *Module) AddListener(l *ListenerHandler) *Module + func (module *Module) AddListeners(l ...*ListenerHandler) *Module + func (module *Module) NewCommand(aliases ...string) *Command + type NilInhibitor struct + type OwnerInhibitor struct + Response interface{} + type PermissionInhibitor struct + Response interface{} + Value uint64 + type RoleInhibitor struct + Response interface{} + Value string