Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
Command string
Args []string
// AtTarget 记录消息开头的@
AtTarget int64
// contains filtered or unexported fields
}
func (*Parser) CommandName ¶ added in v1.0.5
CommandName 返回command本身的名字,不包括command prefix
func (*Parser) CommandPrefix ¶ added in v1.0.7
func (*Parser) GetCmdArgs ¶
func (*Parser) Parse ¶
func (p *Parser) Parse(elems []message.IMessageElement)
Click to show internal directories.
Click to hide internal directories.