cmd

package
v0.0.0-...-981a9ea Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Log           zerolog.Logger
	Twitch        *twitch.Client
	State         *state.Client
	Location      *nominatim.Client
	Weather       *openweather.Client
	ImgurClientID string
	BotName       string

	Config struct {
		Debug *bool
	}
	// contains filtered or unexported fields
}

func NewManager

func NewManager(twitch *twitch.Client, state *state.Client, weather *openweather.Client, location *nominatim.Client, imgurClientID, botName string, debug *bool) (*Manager, error)

func (*Manager) RunActions

func (m *Manager) RunActions(msg *twitch.PrivateMessage, user *state.User)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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