3723a1991f
Add support for English league name in /me
2018-05-19 13:11:56 +04:00
98bf2c393b
Move import path to Github
2018-05-19 12:14:25 +04:00
0a5361ee09
Add karma field to players
...
Karma will be used for inactive users filtering
2018-05-05 09:50:07 +04:00
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
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
af525b207f
Fix bot failure on profile update
2018-04-01 17:51:38 +04:00
d96f1e9004
Add error response on wrong profile parsing
2018-03-31 23:07:05 +04:00
049fdd7235
Fix pokememes attack parsing in 10th grade profiles
2018-03-31 14:51:32 +04:00
3129566a1c
Fix bot failure on 10th grade hands in profiles
2018-03-31 10:05:59 +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
48679e85eb
Fix error, when user tries to print it's profile without weapon
2018-02-20 22:58:13 +04:00
bf7eec791a
Fix for latest update time in /find_user commands
2018-02-17 15:55:28 +04:00
fef521e35b
Squads and chats in DataCache, squads rework
...
Work in progress, bugs may vary
2018-02-17 07:03:58 +04:00
3be6ddd8a8
Valentine label fix [2]
2018-02-13 23:14:14 +04:00
5da61b460b
Valentine label fix
2018-02-13 23:10:26 +04:00
1370ab2b91
Yet another remote change
...
Now: source.wtfteam.pro
2018-02-13 22:05:32 +04:00
7368c58e2d
Adding multiple cummands for listing filtered and unfiltered pokememes
2018-02-07 15:59:28 +04:00
14413b3167
/advice command for searching most valuable pokememes
2018-02-07 15:00:04 +04:00
feb1899992
/find_top_attack for selecting users by top position
2018-02-05 13:00:18 +04:00
6dac398fd3
/top and /top_my functions
2018-02-05 12:37:46 +04:00
7bcaca66aa
Fix for non-finding weapons
2018-01-30 18:41:23 +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
074fc4a1e3
Final fix for forgotten SQL filter
2018-01-24 12:20:00 +04:00
9e6eb11bfd
Fixed forgotten parameter in SQL query
2018-01-24 12:11:10 +04:00
b7379013a8
Explicit error message for profile posting with enabled artifacts
2018-01-23 20:50:21 +04:00
c5d8590b87
Removed trailing 1 from profiles attack
2018-01-23 20:37:48 +04:00
7780fb4f00
Message split for found users (bypassing Telegram limitations)
2018-01-23 20:19:09 +04:00
6a57d8581c
Command to find users on level
2018-01-23 20:13:16 +04:00
190cdc6e7b
Migration to new git server
2018-01-21 23:28:53 +04:00
880810d90c
New Year 2018 preparations
2017-12-28 05:57:51 +04:00
f6d8d064ed
PokememBroInstinkt chat bans fix
2017-12-23 21:08:57 +04:00
24e4904807
/find_user moved to custom SQL query
...
Now it's much, MUCH faster.
2017-12-23 18:49:09 +04:00
b7ca6b3c6a
New restrictions logic for all chats. Fixed filter for /send_league
2017-12-23 17:03:26 +04:00
413bf22f16
Visual fixes in broadcast messages, some fixes in squader
...
He protec, but he also attac!
2017-12-20 21:45:32 +04:00
49fd750df9
Float fix for pokememes wealth
2017-12-06 14:43:05 +04:00
050c0f8d0b
/academy and /bastion commands
2017-12-02 19:50:56 +04:00
010a2395bf
Fix for low-level: pokememes with same name can be added to hand
2017-12-02 18:25:24 +04:00
8a11a356a3
Some easter eggs. Ability to find user by name or nickname.
2017-12-02 13:45:24 +04:00
703ea27cdb
Academic access level, can see other profiles
2017-12-01 10:55:18 +04:00
2421e2d6d2
/users pages navigation
2017-11-29 14:38:58 +04:00
b706c2d895
Academy link in profile success message for newbies
2017-11-29 10:36:36 +04:00
f52920334d
Bastion link on proper profile update
2017-11-29 10:04:54 +04:00
b57cacb4d4
Latest game update reflections
2017-11-26 19:38:25 +04:00
60365e1637
Special profile signature in /users list
2017-11-26 16:03:31 +04:00
53a99b0ff3
Some work on ordering. Special user behaviour
...
See #10
2017-11-26 15:28:55 +04:00
130aabda81
Fixed error with underscores in usernames
2017-11-25 03:44:58 +04:00
ac0292ab6f
Broadcast message to all Instinkt players
...
Closes #7
2017-11-25 03:00:34 +04:00
a32ed89be8
User addition to squads
...
Closes #8
2017-11-24 00:16:22 +04:00
dfe0d08ecc
Massive refactoring for future development
2017-11-21 06:06:32 +04:00