squader

package
v0.0.0-...-3723a19 Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ac *appcontext.Context)

New is an initialization function for appcontext

Types

type Squader

type Squader struct{}

Squader is a function-handling struct for package squader.

func (*Squader) AddUserToSquad

func (s *Squader) AddUserToSquad(update *tgbotapi.Update, adderRaw *dbmapping.Player) string

AddUserToSquad adds user to squad

func (*Squader) Init

func (s *Squader) Init()

Init is a initialization function for package

func (*Squader) SquadInfo

func (s *Squader) SquadInfo(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

SquadInfo returns statistic and list of squad players

func (*Squader) SquadsList

func (s *Squader) SquadsList(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

SquadsList lists all squads

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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