commands

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	F1_USER     = "F1_USER"
	F1_PASSWORD = "F1_PASSWORD"
	SLACK_OAUTH = "SLACK_OAUTH"
	F1_LEAGUE   = "F1_LEAGUE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	//F1       *f1fantasy.AuthenticatedApi
	Slack    *slack.Client
	Command  slackutil.SlashCommand
	LeagueId int
}

func (*Handler) Handle

func (h *Handler) Handle(command slackutil.SlashCommand) error

func (*Handler) Init

func (h *Handler) Init() error

Jump to

Keyboard shortcuts

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