Documentation ¶
Index ¶
- func AreCommandAndMentionIndicesInvalid(cmdIndex int, mentionIndex int) bool
- func AreCommandAndMentionIndicesMismatched(cmdIndex int, mentionIndex int) bool
- func CanExecuteCommand(context context.Context, service service.Service, badges string, ...) bool
- func FindCommandAndMentionIndices(words []string) (int, int)
- func FindCommandIndices(words []string) int
- func GetCommandVariables(cmdData *model.BotCommand, message twitch.PrivateMessage) *model.CommandVariable
- func ParseMessage(message string) (string, []string)
- func ParseSysCmdMessage(message string) (string, []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanExecuteCommand ¶
func FindCommandIndices ¶
func GetCommandVariables ¶
func GetCommandVariables(cmdData *model.BotCommand, message twitch.PrivateMessage) *model.CommandVariable
func ParseMessage ¶
func ParseSysCmdMessage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.