Documentation ¶
Overview ¶
Package hello is an reference implementation to provide the simplest form of sarah.CommandProps.
Developer may import this package and refer to hello.SlackProps to build hello command.
runner, err := sarah.NewRunner(config, sarah.WithCommandProps(hello.SlackProps), ...)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SlackProps = sarah.NewCommandPropsBuilder(). BotType(slack.SLACK). Identifier("hello"). InputExample(".hello"). MatchPattern(regexp.MustCompile(`\.hello`)). Func(slackFunc). MustBuild()
SlackProps provides default setup of hello command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.