squad

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SquadCreateRegex = regexp.MustCompile("/squad_create(?:@MuskratBot)? (.{1,32})")
View Source
var SquadKickRegex = regexp.MustCompile(`/squad_kick(?:@MuskratBot)?(?:\s(?:@(.*)|(\d+)))?`)
View Source
var SquadRenameRegex = regexp.MustCompile("/squad_rename(?:@MuskratBot)? (.{1,32})")

Functions

This section is empty.

Types

type Module

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

func NewModule

func NewModule(tb *telebot.Bot, l *layout.Layout, player domain.PlayerUsecase, squad domain.SquadUsecase) *Module

func (*Module) SquadAdd

func (m *Module) SquadAdd(c telebot.Context) error

func (*Module) SquadChat

func (m *Module) SquadChat(c telebot.Context) error

func (*Module) SquadCreate

func (m *Module) SquadCreate(c telebot.Context) error

func (*Module) SquadDelete

func (m *Module) SquadDelete(c telebot.Context) error

func (*Module) SquadDeleteConfirm

func (m *Module) SquadDeleteConfirm(c telebot.Context) error

func (*Module) SquadHelp

func (m *Module) SquadHelp(c telebot.Context) error

func (*Module) SquadKick

func (m *Module) SquadKick(c telebot.Context) error

func (*Module) SquadRename

func (m *Module) SquadRename(c telebot.Context) error

Jump to

Keyboard shortcuts

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