go-sarah: github.com/oklahomer/go-sarah/examples/simple Files | Directories

Command simple

Package main provides a simple bot experience using slack.Adapter with multiple plugin commands and scheduled tasks.

Package Files

main.go

Directories

PathSynopsis
plugins/countPackage count provides example code to setup sarah.CommandProps.
plugins/echoPackage echo provides example code to sarah.Command implementation.
plugins/fixedtimerPackage fixedtimer provides example code to setup ScheduledTaskProps with fixed schedule.
plugins/guessPackage guess provides example code to setup stateful command.
plugins/helloPackage hello provides example code to setup relatively simple sarah.CommandProps.
plugins/morningPackage morning provides example code to setup sarah.CommandProps with relatively complex matching function.
plugins/timerPackage timer provides example code to setup ScheduledTaskProps with re-configurable schedule and sending room.
plugins/todoPackage todo is an example of stateful command that let users input required arguments step by step in a conversational manner.
plugins/worldweatherPackage worldweather is a reference implementation that provides relatively practical use of sarah.CommandProps.

Package main imports 20 packages (graph). Updated 2020-09-27. Refresh now. Tools for package owners.