Archived
1
Commit Graph

12 Commits

Author SHA1 Message Date
86afa52a56 Format imports with goimport 2018-05-02 07:25:39 +04:00
a9f1d25c7b Add pokememes info, convert it to new format and drop unnecessary database tables
This commit introduces pokememes information storage in source code (because they're rarely changed and I always update them manually).

All information about pokememes updated after nerf of 25 April. Also, added buttons to /pokedeks command for changing pages (there are 21 pages already!), and limited one page to 35 pokememes.
2018-05-02 00:47:55 +04:00
3db79300af Fix "is_active=127" error (maybe) 2018-03-31 10:16:52 +04:00
dbaa85a517 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.
2018-03-31 09:16:32 +04:00
c9855116da 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.
2018-03-31 08:34:27 +04:00
6a681669ab Fix for column count in pokememes 2018-02-17 20:54:00 +04:00
54614bfc4d Pokedex sorting by letter, for moving zero grade to end of the list 2018-02-17 19:54:45 +04:00
be9b2d72f1 Archive pokememes 2018-02-17 19:47:22 +04:00
3a5411f814 Pokedeks sorting almost as in game: grade-attack-name 2018-02-17 18:26:33 +04:00
7cdb74ac36 Updating current pokememes via Telegram 2018-02-14 00:09:58 +04:00
1370ab2b91 Yet another remote change
Now: source.wtfteam.pro
2018-02-13 22:05:32 +04:00
b8226d8aa8 DataCache and changes for game update
Recent game update changed pokememes view in pokedeks, so we need to
reflect it by updating parser.

Introducing DataCache - a silver bullet for eliminating lags linked to
database queries. Less queries, more in RAM, faster work. Needs testing
in production environment.
2018-01-29 23:50:25 +04:00