Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct { Commands Commands // contains filtered or unexported fields }
func New ¶
func New(bot *cqhttp_bot.Bot) (c *Cmd)
func (*Cmd) AddCommand ¶
func (*Cmd) GetCommand ¶
type Command ¶
type Command struct { Name string Usage string Run RunFunc // contains filtered or unexported fields }
func DefaultCommandHelp ¶
func (*Command) AddSubCommand ¶
type RunFunc ¶
type RunFunc func(paramete string, flag Flag, bot *cqhttp_bot.Bot, ctx *cqhttp_bot.EventMessageContext)
Click to show internal directories.
Click to hide internal directories.