Archived
1

Some easter eggs. Ability to find user by name or nickname.

This commit is contained in:
2017-12-02 13:45:24 +04:00
parent 703ea27cdb
commit 8a11a356a3
8 changed files with 88 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ type UsersInterface interface {
GetPlayerByID(playerID int) (dbmapping.Player, bool)
PlayerBetterThan(playerRaw *dbmapping.Player, powerLevel string) bool
FindByName(update *tgbotapi.Update) string
ForeignProfileMessage(update *tgbotapi.Update) string
FormatUsername(userName string) string
ProfileMessage(update *tgbotapi.Update, playerRaw *dbmapping.Player) string