hdkv
/
i2_bot
Archived
1
Fork 0
Commit Graph

173 Commits (a9f1d25c7bb86cfbb5cb48378c2697febfbe7e7f)

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 b1975a161c YAML files for rarely changed data. New weapon stats. 2018-04-30 19:46:28 +04:00
Vladimir Hodakov 87214a9973 Add GrStatsBot to permitted users, add Numb13 to donaters 2018-04-08 22:32:51 +04:00
Vladimir Hodakov d2f172c316 Fix debug message 2018-04-07 17:26:18 +04:00
Vladimir Hodakov fdcd53ffb3 Add strings.ToLower for bot username checking 2018-04-07 17:24:48 +04:00
Vladimir Hodakov f306c259b1 Add debug on ProtectChat sequence 2018-04-07 17:22:00 +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 f67e652ae4 Add games chat
Games chat used to divide talks in Bastion from @gamee games and so on.
2018-04-04 21:33:30 +04:00
Vladimir Hodakov af525b207f Fix bot failure on profile update 2018-04-01 17:51:38 +04:00
Vladimir Hodakov d96f1e9004 Add error response on wrong profile parsing 2018-03-31 23:07:05 +04:00
Vladimir Hodakov 3ffeec4e54 Fix return check of ProtectChat function 2018-03-31 17:46:13 +04:00
Vladimir Hodakov e12cada4c4 Add debug to restrictions workflow 2018-03-31 17:44:12 +04:00
Vladimir Hodakov 8af3e5b03a Add debug to message sending commands 2018-03-31 17:39:58 +04:00
Vladimir Hodakov 06173451f6 Add private/group request debug messages 2018-03-31 17:34:24 +04:00
Vladimir Hodakov c4d146ba20 Add fixes and linter improvements to talkers package 2018-03-31 17:25:41 +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 049fdd7235 Fix pokememes attack parsing in 10th grade profiles 2018-03-31 14:51:32 +04:00
Vladimir Hodakov 3db79300af Fix "is_active=127" error (maybe) 2018-03-31 10:16:52 +04:00
Vladimir Hodakov 3129566a1c Fix bot failure on 10th grade hands in profiles 2018-03-31 10:05:59 +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 8d78ef37f1 Fix typos in FAQ (2) 2018-03-06 21:48:43 +04:00
Vladimir Hodakov ef16bdc218 Fix typos in FAQ 2018-03-06 21:41:38 +04:00
Vladimir Hodakov bf9f9c164e Add FAQ for users 2018-03-06 21:38:25 +04:00
Vladimir Hodakov 49eaa4a501 Add Lenorag to donaters list 2018-03-05 09:29:41 +04:00
Vladimir Hodakov 93cd8028f4 Add @nokio404 to donaters list 2018-03-01 12:24:52 +04:00
Vladimir Hodakov f6b9671539 Remove amounts of donate by vanushinvi request 2018-03-01 11:39:28 +04:00
Vladimir Hodakov 72eafc9992 Fix typo in last donate 2018-03-01 11:35:40 +04:00
Vladimir Hodakov 1f30d9a1dd Fix typo in /help 2018-03-01 11:33:18 +04:00
Vladimir Hodakov e907f697c1 Add donate information to /help 2018-03-01 11:31:39 +04:00
Vladimir Hodakov 48679e85eb Fix error, when user tries to print it's profile without weapon 2018-02-20 22:58:13 +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 ffb9863bf7 Possibilities for all levels for academics 2018-02-17 18:17:09 +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 20b66480ef Debugging on production, I'm loving it! 2018-02-17 17:07:25 +04:00
Vladimir Hodakov 7b144a42af Disabling levels filter for commanders 2018-02-17 16:46:04 +04:00
Vladimir Hodakov ce553aea58 Squads: invite link on addition
Hope it works.
2018-02-17 16:37:06 +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 bf7eec791a Fix for latest update time in /find_user commands 2018-02-17 15:55:28 +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 7af54a1b02 Added filter for disabling banned users from /send_league 2018-02-16 12:26:04 +04:00
Vladimir Hodakov 05dee41421 Added new MIT license 2018-02-14 02:40:52 +04:00