commands

package
v0.0.0-...-d73c5c4 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandHandler

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

func NewCommandHandler

func NewCommandHandler(handlerParams handlers.HandlerParams) *CommandHandler

func (*CommandHandler) HandleDrawCard

func (c *CommandHandler) HandleDrawCard(message *tgbotapi.Message) error

func (*CommandHandler) HandleNewGame

func (c *CommandHandler) HandleNewGame(message *tgbotapi.Message) error

func (*CommandHandler) HandleStart

func (c *CommandHandler) HandleStart(message *tgbotapi.Message) error

func (*CommandHandler) HandleStats

func (c *CommandHandler) HandleStats(message *tgbotapi.Message) error

func (*CommandHandler) HandleStopDrawing

func (c *CommandHandler) HandleStopDrawing(message *tgbotapi.Message) error

Jump to

Keyboard shortcuts

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