examples/

directory
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

Directories

Path Synopsis
Package main provides a simple bot experience using slack.Adapter with multiple plugin commands and scheduled tasks.
Package main provides a simple bot experience using slack.Adapter with multiple plugin commands and scheduled tasks.
plugins/count
Package count provides example code to setup sarah.CommandProps.
Package count provides example code to setup sarah.CommandProps.
plugins/echo
Package echo provides example code to sarah.Command implementation.
Package echo provides example code to sarah.Command implementation.
plugins/fixedtimer
Package fixedtimer provides example code to setup ScheduledTaskProps with fixed schedule.
Package fixedtimer provides example code to setup ScheduledTaskProps with fixed schedule.
plugins/guess
Package guess provides example code to setup stateful command.
Package guess provides example code to setup stateful command.
plugins/hello
Package hello provides example code to setup relatively simple sarah.CommandProps.
Package hello provides example code to setup relatively simple sarah.CommandProps.
plugins/morning
Package morning provides example code to setup sarah.CommandProps with relatively complex matching function.
Package morning provides example code to setup sarah.CommandProps with relatively complex matching function.
plugins/timer
Package timer provides example code to setup ScheduledTaskProps with re-configurable schedule and sending room.
Package timer provides example code to setup ScheduledTaskProps with re-configurable schedule and sending room.
plugins/todo
Package todo is an example of stateful command that let users input required arguments step by step in a conversational manner.
Package todo is an example of stateful command that let users input required arguments step by step in a conversational manner.
Package main provides an example that uses Runner.Status() to return current sarah.Runner and its belonging Bot status via HTTP server.
Package main provides an example that uses Runner.Status() to return current sarah.Runner and its belonging Bot status via HTTP server.

Jump to

Keyboard shortcuts

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