upd
This commit is contained in:
parent
f572046cd8
commit
8fb7262d70
7
main.go
7
main.go
@ -120,6 +120,11 @@ func main() {
|
||||
|
||||
if *initdb {
|
||||
initDB()
|
||||
}
|
||||
|
||||
initCache()
|
||||
|
||||
if *initdb {
|
||||
_, _ = addObjCastle(`🦌`, `Deerhorn`)
|
||||
_, _ = addObjCastle(`🐉`, `Dragonscale`)
|
||||
_, _ = addObjCastle(`🦅`, `Highnest`)
|
||||
@ -131,8 +136,6 @@ func main() {
|
||||
_, _ = addObjGuild(``, `No Guild`)
|
||||
}
|
||||
|
||||
initCache()
|
||||
|
||||
// Registering bot
|
||||
bot, err := tb.NewBot(tb.Settings{
|
||||
Token: cfg.Telegram.Token,
|
||||
|
Loading…
Reference in New Issue
Block a user