hdkv
/
i2_bot
Archived
1
Fork 0
Commit Graph

30 Commits (master)

Author SHA1 Message Date
Vladimir Hodakov 3723a1991f
Add support for English league name in /me 2018-05-19 13:11:56 +04:00
Vladimir Hodakov 98bf2c393b
Move import path to Github 2018-05-19 12:14:25 +04:00
Vladimir Hodakov 07c24b8822 Add tournament reports storage and karma changing function 2018-05-05 10:33:40 +04:00
Vladimir Hodakov 0a5361ee09 Add karma field to players
Karma will be used for inactive users filtering
2018-05-05 09:50:07 +04:00
Vladimir Hodakov b8af1740fb Fix getting league chats
This is used in /send_league, for example.
2018-05-02 09:26:01 +04:00
Vladimir Hodakov ca51648110 Add profile updates via statistics
After nerf update there is machine-readable command /me in PokememBroBot. It can be used for gathering useful information about users.
2018-05-02 08:48:22 +04:00
Vladimir Hodakov 86afa52a56 Format imports with goimport 2018-05-02 07:25:39 +04:00
Vladimir Hodakov 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
Vladimir Hodakov b1975a161c YAML files for rarely changed data. New weapon stats. 2018-04-30 19:46:28 +04:00
Vladimir Hodakov 3db79300af Fix "is_active=127" error (maybe) 2018-03-31 10:16:52 +04:00
Vladimir Hodakov 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
Vladimir Hodakov 93f2e7d818 Fix typo in last weapon ID 2018-03-31 08:39:28 +04:00
Vladimir Hodakov 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
Vladimir Hodakov 6a681669ab Fix for column count in pokememes 2018-02-17 20:54:00 +04:00
Vladimir Hodakov 54614bfc4d Pokedex sorting by letter, for moving zero grade to end of the list 2018-02-17 19:54:45 +04:00
Vladimir Hodakov be9b2d72f1 Archive pokememes 2018-02-17 19:47:22 +04:00
Vladimir Hodakov 3a5411f814 Pokedeks sorting almost as in game: grade-attack-name 2018-02-17 18:26:33 +04:00
Vladimir Hodakov 8bd11d2494 Fixed typo and added more debug to squads DataCache 2018-02-17 17:27:30 +04:00
Vladimir Hodakov c4db462024 More debug on production due to strange errors 2018-02-17 17:23:49 +04:00
Vladimir Hodakov 5fda8af5fa Fix for squads relations 2018-02-17 17:22:08 +04:00
Vladimir Hodakov 2617375f46 Squad members from DataCache 2018-02-17 17:19:50 +04:00
Vladimir Hodakov 5e4ce71ff8 Fixing chats DataCache 2018-02-17 16:25:50 +04:00
Vladimir Hodakov 2466a723be Updating chat name in DataCache 2018-02-17 16:01:05 +04:00
Vladimir Hodakov fef521e35b Squads and chats in DataCache, squads rework
Work in progress, bugs may vary
2018-02-17 07:03:58 +04:00
Vladimir Hodakov 7cdb74ac36 Updating current pokememes via Telegram 2018-02-14 00:09:58 +04:00
Vladimir Hodakov 1370ab2b91 Yet another remote change
Now: source.wtfteam.pro
2018-02-13 22:05:32 +04:00
Vladimir Hodakov 7368c58e2d Adding multiple cummands for listing filtered and unfiltered pokememes 2018-02-07 15:59:28 +04:00
Vladimir Hodakov 7bcaca66aa Fix for non-finding weapons 2018-01-30 18:41:23 +04:00
Vladimir Hodakov 78c882347d Fixes for non-welcoming and non-creating new users 2018-01-30 08:28:13 +04:00
Vladimir Hodakov 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