Archived
1

Reflect latest game update

So, now we can handle 10th grade pokememes (and any two-digit grade pokememes in future).
Also, /best and /advice commands for 9th-level players respect new pokememes.
This commit is contained in:
2018-03-31 09:16:32 +04:00
parent 93f2e7d818
commit dbaa85a517
6 changed files with 33 additions and 19 deletions

View File

@@ -6,6 +6,11 @@ package appcontext
import (
"bitbucket.org/pztrn/flagger"
"bitbucket.org/pztrn/mogrus"
"github.com/go-telegram-bot-api/telegram-bot-api"
"github.com/jmoiron/sqlx"
"github.com/robfig/cron"
"net/http"
"os"
"source.wtfteam.pro/i2_bot/i2_bot/lib/broadcaster/broadcasterinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/chatter/chatterinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/config"
@@ -23,11 +28,6 @@ import (
"source.wtfteam.pro/i2_bot/i2_bot/lib/talkers/talkersinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/users/usersinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/welcomer/welcomerinterface"
"github.com/go-telegram-bot-api/telegram-bot-api"
"github.com/jmoiron/sqlx"
"github.com/robfig/cron"
"net/http"
"os"
"time"
)
@@ -62,7 +62,7 @@ func (c *Context) Init() {
l.Initialize()
log := l.CreateLogger("i2_bot")
log.CreateOutput("stdout", os.Stdout, true, "debug")
log.CreateOutput("stdout", os.Stdout, true, "info")
c.Log = log
c.StartupFlags = flagger.New(c.Log)