Documentation ¶
Overview ¶
Package main provides a simple bot experience using slack.Adapter with multiple plugin commands and scheduled tasks.
Directories ¶
Path | Synopsis |
---|---|
plugins
|
|
count
Package count provides example code to setup sarah.CommandProps.
|
Package count provides example code to setup sarah.CommandProps. |
echo
Package echo provides example code to sarah.Command implementation.
|
Package echo provides example code to sarah.Command implementation. |
fixedtimer
Package fixedtimer provides example code to setup ScheduledTaskProps with fixed schedule.
|
Package fixedtimer provides example code to setup ScheduledTaskProps with fixed schedule. |
guess
Package guess provides example code to setup stateful command.
|
Package guess provides example code to setup stateful command. |
hello
Package hello provides example code to setup relatively simple sarah.CommandProps.
|
Package hello provides example code to setup relatively simple sarah.CommandProps. |
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. |
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. |
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. |
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. |
Click to show internal directories.
Click to hide internal directories.