Archived
1
Commit Graph

58 Commits

Author SHA1 Message Date
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
24e619a446 Add `/games_chat` command
This command will send user link to our games-enabled chat.
2018-04-04 21:58:57 +04:00
3ffeec4e54 Fix return check of ProtectChat function 2018-03-31 17:46:13 +04:00
06173451f6 Add private/group request debug messages 2018-03-31 17:34:24 +04:00
4abfc457ce Add return constants package, and common message sender functions
Trying to resolve as much as possible ``gometalinter`` issues.
2018-03-31 16:45:09 +04:00
bf9f9c164e Add FAQ for users 2018-03-06 21:38:25 +04:00
5e4ce71ff8 Fixing chats DataCache 2018-02-17 16:25:50 +04:00
2466a723be Updating chat name in DataCache 2018-02-17 16:01:05 +04:00
fef521e35b Squads and chats in DataCache, squads rework
Work in progress, bugs may vary
2018-02-17 07:03:58 +04:00
1370ab2b91 Yet another remote change
Now: source.wtfteam.pro
2018-02-13 22:05:32 +04:00
4660d02a32 Added "banned" status for players 2018-02-11 18:58:41 +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
f3110ab391 Telegram is weird. Trying to fix some strange errors. 2018-01-30 20:21:18 +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
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
b7ca6b3c6a New restrictions logic for all chats. Fixed filter for /send_league 2017-12-23 17:03:26 +04:00
706dc3e944 Reminders for league. Now just reminders, without attack button 2017-12-23 01:40:36 +04:00
fa71616a14 Pokememe deletion command 2017-12-04 23:14:41 +04:00
1fecbd96ff Five pokeballs offer 2017-12-03 14:37:54 +04:00
dfda32396a Pinner fix for lost spaces 2017-12-03 00:40:30 +04:00
4d941454b5 /academy and /bastion: some error messages 2017-12-02 20:02:27 +04:00
050c0f8d0b /academy and /bastion commands 2017-12-02 19:50:56 +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
c65dad7727 Wiper for Bastion 2017-11-29 19:11:52 +04:00
0aa26c1cfa Latest bugfixes and updates 2017-11-29 18:54:13 +04:00
9d21ebd44b Pass game admins to our chats. Easter egg chance generation. 2017-11-28 20:37:14 +04:00
53a99b0ff3 Some work on ordering. Special user behaviour
See #10
2017-11-26 15:28:55 +04:00
8368a3c60b Pins to selected chats
Closes #6
2017-11-26 08:31:56 +04:00
a6811f61fc Inline commands support (needed for pins handling) 2017-11-26 07:55:13 +04:00
fed4a52075 Bot administration functions for squads chats
Closes #11
Closes #15
2017-11-26 06:48:13 +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
e4102e9a90 Work on squads, some refactoring
Closes #14
See #8
2017-11-19 22:16:11 +04:00
95a9a2146a Pins to supergroups, managed by admins 2017-11-14 03:44:21 +04:00
5c08899d25 Work on squads, alerts on new user with empty or spy profile
Closes #1
Closes #2
2017-11-13 22:51:50 +04:00
c998698b7a Welcome requests in groups, based on profiles and leagues 2017-11-03 21:33:02 +04:00
e97b3caf07 Dependency management via dep package. 2017-10-26 18:17:58 +04:00
c676fb780d Broadcast messages are now stored in database 2017-10-22 15:29:48 +04:00
7975ea54c1 /send_all feature for administrators 2017-10-22 14:04:14 +04:00
c99648b72a Chats saving to database 2017-10-21 14:14:46 +04:00
8dab6c0699 Refactoring: now we respect gofmt and have some comments 2017-10-18 09:39:50 +04:00
6f374e560e All code formatted with gofmt 2017-10-18 07:03:34 +04:00
Vladimir Hodakov
df58e25adc Profile parser changes to reflect last bot's update 2017-10-14 17:06:54 +04:00
Vladimir Hodakov
d897d2c3f9 Best pokememes for user listing 2017-10-13 03:52:04 +04:00