heyskoopy

package
v0.0.0-...-772c6e4 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MinCommandLength is the minimum number of strings that should be present to use commandRouter
	MinCommandLength = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	DB               db2.DB
	BotCommandString *regexp.Regexp
	// contains filtered or unexported fields
}

Bot is the base struct to start the HeySkoopy bot

func (*Bot) Exit

func (b *Bot) Exit()

Exit is used to gracefully terminate the bot

func (*Bot) Run

func (b *Bot) Run(authKey string)

Run starts the bot with the provided authKey

Jump to

Keyboard shortcuts

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