hello

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2019 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL