Commit Graph
58 Commits
Author SHA1 Message Date
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 24e619a446 Add `/games_chat` command
This command will send user link to our games-enabled chat.
2018-04-04 21:58:57 +04:00
Vladimir Hodakov 3ffeec4e54 Fix return check of ProtectChat function 2018-03-31 17:46:13 +04:00
Vladimir Hodakov 06173451f6 Add private/group request debug messages 2018-03-31 17:34:24 +04:00
Vladimir Hodakov 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
Vladimir Hodakov bf9f9c164e Add FAQ for users 2018-03-06 21:38:25 +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 1370ab2b91 Yet another remote change
Now: source.wtfteam.pro
2018-02-13 22:05:32 +04:00
Vladimir Hodakov 4660d02a32 Added "banned" status for players 2018-02-11 18:58:41 +04:00
Vladimir Hodakov 7368c58e2d Adding multiple cummands for listing filtered and unfiltered pokememes 2018-02-07 15:59:28 +04:00
Vladimir Hodakov 14413b3167 /advice command for searching most valuable pokememes 2018-02-07 15:00:04 +04:00
Vladimir Hodakov feb1899992 /find_top_attack for selecting users by top position 2018-02-05 13:00:18 +04:00
Vladimir Hodakov 6dac398fd3 /top and /top_my functions 2018-02-05 12:37:46 +04:00
Vladimir Hodakov f3110ab391 Telegram is weird. Trying to fix some strange errors. 2018-01-30 20:21:18 +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
Vladimir Hodakov 6a57d8581c Command to find users on level 2018-01-23 20:13:16 +04:00
Vladimir Hodakov 190cdc6e7b Migration to new git server 2018-01-21 23:28:53 +04:00
Vladimir Hodakov b7ca6b3c6a New restrictions logic for all chats. Fixed filter for /send_league 2017-12-23 17:03:26 +04:00
Vladimir Hodakov 706dc3e944 Reminders for league. Now just reminders, without attack button 2017-12-23 01:40:36 +04:00
Vladimir Hodakov fa71616a14 Pokememe deletion command 2017-12-04 23:14:41 +04:00
Vladimir Hodakov 1fecbd96ff Five pokeballs offer 2017-12-03 14:37:54 +04:00
Vladimir Hodakov dfda32396a Pinner fix for lost spaces 2017-12-03 00:40:30 +04:00
Vladimir Hodakov 4d941454b5 /academy and /bastion: some error messages 2017-12-02 20:02:27 +04:00
Vladimir Hodakov 050c0f8d0b /academy and /bastion commands 2017-12-02 19:50:56 +04:00
Vladimir Hodakov 8a11a356a3 Some easter eggs. Ability to find user by name or nickname. 2017-12-02 13:45:24 +04:00
Vladimir Hodakov 703ea27cdb Academic access level, can see other profiles 2017-12-01 10:55:18 +04:00
Vladimir Hodakov c65dad7727 Wiper for Bastion 2017-11-29 19:11:52 +04:00
Vladimir Hodakov 0aa26c1cfa Latest bugfixes and updates 2017-11-29 18:54:13 +04:00
Vladimir Hodakov 9d21ebd44b Pass game admins to our chats. Easter egg chance generation. 2017-11-28 20:37:14 +04:00
Vladimir Hodakov 53a99b0ff3 Some work on ordering. Special user behaviour
See #10
2017-11-26 15:28:55 +04:00
Vladimir Hodakov 8368a3c60b Pins to selected chats
Closes #6
2017-11-26 08:31:56 +04:00
Vladimir Hodakov a6811f61fc Inline commands support (needed for pins handling) 2017-11-26 07:55:13 +04:00
Vladimir Hodakov fed4a52075 Bot administration functions for squads chats
Closes #11
Closes #15
2017-11-26 06:48:13 +04:00
Vladimir Hodakov ac0292ab6f Broadcast message to all Instinkt players
Closes #7
2017-11-25 03:00:34 +04:00
Vladimir Hodakov a32ed89be8 User addition to squads
Closes #8
2017-11-24 00:16:22 +04:00
Vladimir Hodakov dfe0d08ecc Massive refactoring for future development 2017-11-21 06:06:32 +04:00
Vladimir Hodakov e4102e9a90 Work on squads, some refactoring
Closes #14
See #8
2017-11-19 22:16:11 +04:00
Vladimir Hodakov 95a9a2146a Pins to supergroups, managed by admins 2017-11-14 03:44:21 +04:00
Vladimir Hodakov 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
Vladimir Hodakov c998698b7a Welcome requests in groups, based on profiles and leagues 2017-11-03 21:33:02 +04:00
Vladimir Hodakov e97b3caf07 Dependency management via dep package. 2017-10-26 18:17:58 +04:00
Vladimir Hodakov c676fb780d Broadcast messages are now stored in database 2017-10-22 15:29:48 +04:00
Vladimir Hodakov 7975ea54c1 /send_all feature for administrators 2017-10-22 14:04:14 +04:00
Vladimir Hodakov c99648b72a Chats saving to database 2017-10-21 14:14:46 +04:00
Vladimir Hodakov 8dab6c0699 Refactoring: now we respect gofmt and have some comments 2017-10-18 09:39:50 +04:00
Vladimir Hodakov 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