processor

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CountryMapping = loadIndex()
View Source
var Repliers = LoadRepliers()

Functions

func CountryReply

func CountryReply(input string) (bool, string)

func FallbackReply

func FallbackReply(_ string) (bool, string)

func GoalsReply

func GoalsReply(input string) (bool, string)

func IndicatorReply

func IndicatorReply(input string) (bool, string)

func LookupReply

func LookupReply(update tgbotapi.Update) string

func StartReply added in v0.0.2

func StartReply(input string) (bool, string)

Types

type Replier

type Replier func(input string) (bool, string)

func LoadRepliers

func LoadRepliers() []Replier

Jump to

Keyboard shortcuts

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