Archived
1

/top and /top_my functions

This commit is contained in:
2018-02-05 12:37:46 +04:00
parent 526304294c
commit 6dac398fd3
9 changed files with 259 additions and 88 deletions

View File

@@ -3,6 +3,11 @@
package statisticsinterface
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"github.com/go-telegram-bot-api/telegram-bot-api"
)
// StatisticsInterface implements Statistics for importing via appcontext.
type StatisticsInterface interface {
Init()
@@ -13,4 +18,6 @@ type StatisticsInterface interface {
GetPrintablePoints(points int) string
PossibilityRequiredPokeballs(location int, grade int, lvl int) (float64, int)
TopList(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
}