Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct { }
Parser is a command parser that parses slash commands.
func (*Parser) Parse ¶
func (p *Parser) Parse(ctx context.Context, lookup *twicmd.ServiceLookup, body *twismsproto.MessageBody) (*twicmdproto.Command, error)
Parse parses the given message body and returns the parsed command.
Click to show internal directories.
Click to hide internal directories.