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. |
plugins/worldweather
Package worldweather is a reference implementation that provides relatively practical use of sarah.CommandProps.
|
Package worldweather is a reference implementation that provides relatively practical use of sarah.CommandProps. |
Package main provides an example that uses sarah.CurrentStatus() to get current go-sarah and its belonging Bot's status via HTTP server.
|
Package main provides an example that uses sarah.CurrentStatus() to get current go-sarah and its belonging Bot's status via HTTP server. |
Click to show internal directories.
Click to hide internal directories.