larsmonsen

package
v0.0.0-...-993cae5 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPattern     = `(?i)\\b(lars|monsen)\\b`
	DefaultCommandName = `larsmonsen`
	DefaultFactsFile   = `/tmp/larsmonsenfacts.json`
	FactsFileEnvVar    = `LARSMONSENFACTS_FILE`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LarsMonsen

type LarsMonsen struct {
	// contains filtered or unexported fields
}

func New

func New(fileName, pattern string) (*LarsMonsen, error)

func (*LarsMonsen) Quote

func (lm *LarsMonsen) Quote(command *bot.PassiveCmd) (string, error)

Jump to

Keyboard shortcuts

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