Archived
1
Commit Graph

188 Commits

Author SHA1 Message Date
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
67cdb3edb5
Revert "Add SOCKS5 proxy support to bot"
This reverts commit b52a0c34b8.
2018-05-19 09:42:07 +04:00
22481ad7ec
Revert "Add debug message for new update"
This reverts commit ea2a6e1e9c.
2018-05-19 09:42:07 +04:00
ea2a6e1e9c
Add debug message for new update 2018-05-19 09:30:36 +04:00
b52a0c34b8 Add SOCKS5 proxy support to bot
In Soviet Russia... wait, wrong time period.
2018-05-11 18:55:37 +04:00
2c72bc8023 Add /rules command and trigger for all group chat commands 2018-05-06 05:57:52 +04:00
07c24b8822 Add tournament reports storage and karma changing function 2018-05-05 10:33:40 +04:00
0a5361ee09 Add karma field to players
Karma will be used for inactive users filtering
2018-05-05 09:50:07 +04:00
b8af1740fb Fix getting league chats
This is used in /send_league, for example.
2018-05-02 09:26:01 +04:00
d3758a6afa Fix users top by exp points
There are new values for levels and new exp points logic in game.
2018-05-02 09:14:01 +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
ef9cf07abc Fix inline keyboard rows changing over time in /reminders and /pokedeks
Now all buttons are the same place every time.
2018-05-02 06:39:33 +04:00
73ae8c238e Fix wrong elements-to-leagues assignment 2018-05-02 06:32:07 +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
b1975a161c YAML files for rarely changed data. New weapon stats. 2018-04-30 19:46:28 +04:00
87214a9973 Add GrStatsBot to permitted users, add Numb13 to donaters 2018-04-08 22:32:51 +04:00
d2f172c316 Fix debug message 2018-04-07 17:26:18 +04:00
fdcd53ffb3 Add strings.ToLower for bot username checking 2018-04-07 17:24:48 +04:00
f306c259b1 Add debug on ProtectChat sequence 2018-04-07 17:22:00 +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
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
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
3ffeec4e54 Fix return check of ProtectChat function 2018-03-31 17:46:13 +04:00
e12cada4c4 Add debug to restrictions workflow 2018-03-31 17:44:12 +04:00
8af3e5b03a Add debug to message sending commands 2018-03-31 17:39:58 +04:00
06173451f6 Add private/group request debug messages 2018-03-31 17:34:24 +04:00
c4d146ba20 Add fixes and linter improvements to talkers package 2018-03-31 17:25:41 +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
049fdd7235 Fix pokememes attack parsing in 10th grade profiles 2018-03-31 14:51:32 +04:00
3db79300af Fix "is_active=127" error (maybe) 2018-03-31 10:16:52 +04:00
3129566a1c Fix bot failure on 10th grade hands in profiles 2018-03-31 10:05:59 +04:00
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
93f2e7d818 Fix typo in last weapon ID 2018-03-31 08:39:28 +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
8d78ef37f1 Fix typos in FAQ (2) 2018-03-06 21:48:43 +04:00
ef16bdc218 Fix typos in FAQ 2018-03-06 21:41:38 +04:00
bf9f9c164e Add FAQ for users 2018-03-06 21:38:25 +04:00
49eaa4a501 Add Lenorag to donaters list 2018-03-05 09:29:41 +04:00
93cd8028f4 Add @nokio404 to donaters list 2018-03-01 12:24:52 +04:00
f6b9671539 Remove amounts of donate by vanushinvi request 2018-03-01 11:39:28 +04:00
72eafc9992 Fix typo in last donate 2018-03-01 11:35:40 +04:00
1f30d9a1dd Fix typo in /help 2018-03-01 11:33:18 +04:00
e907f697c1 Add donate information to /help 2018-03-01 11:31:39 +04:00
48679e85eb Fix error, when user tries to print it's profile without weapon 2018-02-20 22:58:13 +04:00
6a681669ab Fix for column count in pokememes 2018-02-17 20:54:00 +04:00
54614bfc4d Pokedex sorting by letter, for moving zero grade to end of the list 2018-02-17 19:54:45 +04:00
be9b2d72f1 Archive pokememes 2018-02-17 19:47:22 +04:00