commands

package
v0.0.0-...-8f3512e Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternalServerError     = errors.New("internal server error")
	ErrWeatherLocationNotFound = errors.New("location not found")
)

Functions

func Currency

func Currency(currAmount, currFrom, currTo string) (string, error)

func LastFmUserRecent

func LastFmUserRecent(user string, log zerolog.Logger) string

func Phonetic

func Phonetic(message string) (string, error)

func Preview

func Preview(channel string) string

func Weather

func Weather(location string) (string, error)

Weather queries the OpenWeatherMap Api for the given location and sends the current weather response to the target twitch chat.

func WolframAlphaQuery

func WolframAlphaQuery(query string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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