simple

command
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 20 Imported by: 0

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.

Jump to

Keyboard shortcuts

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