usersinterface

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsersInterface

type UsersInterface interface {
	Init()

	ParseProfile(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

	GetPrettyName(user *tgbotapi.User) string
	PlayerBetterThan(playerRaw *dbmapping.Player, powerLevel string) bool

	FindByLevel(update *tgbotapi.Update) string
	FindByName(update *tgbotapi.Update) string
	FindByTopAttack(update *tgbotapi.Update) string
	ForeignProfileMessage(update *tgbotapi.Update) string
	FormatUsername(userName string) string
	ProfileMessage(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
	UsersList(update *tgbotapi.Update) string
}

UsersInterface implements Users for importing via appcontex

Jump to

Keyboard shortcuts

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