Move rarely changed data to datamappings, fix profile updating
As result of profile format change, introduced in game update yesterday we need to change profile regexp. As result of some refactoring, rarely changed data removed from database and added to sources of bot.
This commit is contained in:
11
lib/datamapping/leagues.go
Normal file
11
lib/datamapping/leagues.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// i2_bot – Instinct PokememBro Bot
|
||||
// Copyright (c) 2017-2018 Vladimir "fat0troll" Hodakov
|
||||
|
||||
package datamapping
|
||||
|
||||
// League is a struct, which represents league data
|
||||
type League struct {
|
||||
ID int
|
||||
Symbol string
|
||||
Name string
|
||||
}
|
||||
Reference in New Issue
Block a user