pokedexer

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 Pokedexer

type Pokedexer struct{}

Pokedexer is a function-handling struct for package pokedexer

func (*Pokedexer) AdvicePokememesList

func (p *Pokedexer) AdvicePokememesList(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

AdvicePokememesList shows list for catching It may be list of best or most valuable pokememes

func (*Pokedexer) ParsePokememe

func (p *Pokedexer) ParsePokememe(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

ParsePokememe parses pokememe, forwarded from PokememeBroBot, to database

func (*Pokedexer) PokememeInfo

func (p *Pokedexer) PokememeInfo(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

PokememeInfo shows information about single pokememe based on internal ID

func (*Pokedexer) PokememesList

func (p *Pokedexer) PokememesList(update *tgbotapi.Update)

PokememesList lists all known pokememes

func (*Pokedexer) PokememesListUpdater

func (p *Pokedexer) PokememesListUpdater(update *tgbotapi.Update) string

PokememesListUpdater updates page in pokedeks message

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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