eleksir
|
66f64da5c6
|
Fix incorrect error message when unable to create gamestatdir
|
2021-07-05 13:54:27 +03:00 |
|
eleksir
|
cf71cd7f6f
|
Apply perlcritic
|
2021-07-03 11:20:13 +03:00 |
|
eleksir
|
eddbcc6277
|
Prep for gamestat implementation
* Move artifacts to separate files
+ Implement db seed with artifacts
+ Add gamedata_seed.pl script to seed artifacts to db
|
2021-07-02 16:03:20 +03:00 |
|
eleksir
|
30fb568de0
|
Use "от ... до ..." instead of simple dash in Weather.pm
|
2021-06-28 11:01:40 +03:00 |
|
eleksir
|
9c9e67e0a2
|
Enhance Weather.pm
- Fix incomplete message when t.min==t.max
- Print t.max - t.min if both of them are < 0
|
2021-06-28 10:50:53 +03:00 |
|
eleksir
|
47e82449e7
|
Update present api implementation to botapi v5.3
|
2021-06-26 10:00:51 +03:00 |
|
eleksir
|
b6ec09c5de
|
Now bot triggers on phrase "кто все эти люди?" correctly even if it mentioned first
|
2021-06-24 01:21:51 +03:00 |
|
eleksir
|
dca58a3deb
|
Add undocumented voice field to ChatMemberUpdated object
|
2021-06-12 14:09:40 +03:00 |
|
eleksir
|
6d439a1b44
|
Implement !horse !лошадка !frog !лягушка !snail !улитка commands
|
2021-05-06 11:00:44 +03:00 |
|
eleksir
|
096877bee2
|
Make logging use features of Log::Any and log as it should be done via this module. Cleanup sample config.
|
2021-05-04 18:45:30 +03:00 |
|
eleksir
|
095cb57a18
|
Implemented !хелп, !хэлп, answer 'кто все эти люди?' question, hide notext log message to debug lever
|
2021-05-04 13:30:11 +03:00 |
|
eleksir
|
36c79eb46c
|
Add BotLib changes to all remain scripts in bin dir
|
2021-05-01 01:29:02 +03:00 |
|
eleksir
|
dd693bf5fb
|
Update Flickr API registration procedure in README_RU.md
|
2021-05-01 01:08:41 +03:00 |
|
eleksir
|
b8c3f4957c
|
Update objects of Teapot::Bot according Bot API docs. Add missing fields.
+ Add missing fields some of existing objects
* Fix copy-paste errors in Teapot::Bot::Object::PollAnswer
|
2021-05-01 01:05:31 +03:00 |
|
eleksir
|
ec6c63a954
|
Add 'text' field to ChatMemberUpdated, looks like they miss to document it
|
2021-04-30 23:53:51 +03:00 |
|
eleksir
|
62650bd8ad
|
Update to api 5.2 changes (no payments-2.0)
|
2021-04-30 23:42:54 +03:00 |
|
eleksir
|
8d5b5df194
|
FortuneToggleList() was misspelled in periodic job so fortune message was not shown
|
2021-04-26 11:06:16 +03:00 |
|
eleksir
|
0befdf6327
|
Set log verbosity of CHI::Driver to warn to avoid excessive logging flood
|
2021-04-25 01:50:01 +03:00 |
|
eleksir
|
8e2414288b
|
Fix some errors of tg api v5.1 transition
|
2021-04-25 01:34:58 +03:00 |
|
eleksir
|
fbab0a4d88
|
1-st run fixes after refactor
|
2021-04-24 16:12:30 +03:00 |
|
eleksir
|
a3f8b43f07
|
Merge branch 'master' into chi
|
2021-04-24 11:53:26 +03:00 |
|
eleksir
|
615213ee41
|
Merge branch 'master' into update_teapot_bot_lib_to_api_v5.1
|
2021-04-24 11:47:44 +03:00 |
|
eleksir
|
e7ef39366b
|
Try not to die inside Mojo::Reactor::Poll if some incorrect data lands in update
|
2021-04-22 19:24:59 +03:00 |
|
eleksir
|
3c721b905f
|
Sometimes xkcd.ru returns redirect to 404, retry to get correct content in this case.
|
2021-04-22 19:02:08 +03:00 |
|
eleksir
|
8665a6ddda
|
Refactor some parts of bot
- Move most modules to subdirs
- Rename functions according perlcritic guidelines
- Fix and add some bugs
|
2021-04-22 17:36:50 +03:00 |
|
eleksir
|
f7634a26d1
|
Add README_RU.md
|
2021-04-21 14:58:17 +03:00 |
|
eleksir
|
729489236f
|
move admin to CHI
|
2021-04-07 13:43:34 +03:00 |
|
eleksir
|
cec3ed66fb
|
Introduce cachedir config pragma, move karma to CHI
* Move karma from homebrew storage to CHI
* Use cachedir for CHI file storage heap
* Use cachedir in drink.pm
* Use cachedir in weather.pm
|
2021-04-07 13:39:04 +03:00 |
|
eleksir
|
57dee8b168
|
Replace HTTP::Tiny with Mojo::UserAgent and Mojo::UserAgent::Cached
|
2021-04-05 12:10:31 +03:00 |
|
eleksir
|
5d17018490
|
Update Teapot::Bot to v5.1 api data types, add some debug
|
2021-04-04 22:44:28 +03:00 |
|
eleksir
|
b8fb89358e
|
Try not to die if tg api call timeouts or api returns garbage
|
2021-03-30 20:04:21 +03:00 |
|
eleksir
|
c6ce5b1421
|
Perlcritic and similar fixes, no functional changes
|
2021-03-27 10:35:04 +03:00 |
|
eleksir
|
36208a35d5
|
botlib.pm: Add use monkeyuser to fix it
|
2021-03-22 13:48:47 +03:00 |
|
eleksir
|
23471ee185
|
Implement !drink and !праздник commands
|
2021-03-14 17:45:35 +03:00 |
|
eleksir
|
3a39cf8513
|
Update README.md
|
2021-03-12 15:07:50 +03:00 |
|
eleksir
|
bca6ee8512
|
sample_config.json: Update sample config
|
2021-03-12 11:22:42 +03:00 |
|
eleksir
|
2af166e3e6
|
Implement !monkeyuser command
|
2021-03-10 12:59:51 +03:00 |
|
eleksir
|
6735d6217a
|
Implement !buni command
|
2021-03-09 15:52:48 +03:00 |
|
eleksir
|
3eb3e2126d
|
Implement !xkcd command
|
2021-03-08 16:22:39 +03:00 |
|
eleksir
|
c58a571da5
|
flickr.pm: handle error, more safe work with db
* Untie %secret explicitly to prevent possible data corruption
* Handle case when verifier is in config but request token absent in db
|
2021-03-07 21:38:34 +03:00 |
|
eleksir
|
efea02972c
|
Move away imgur client to imgur.pm, make typing notification before do web api queries, update gitignore
|
2021-03-07 21:17:24 +03:00 |
|
eleksir
|
d55d35f877
|
Implement !owl and !сова commands and improve !rabbit and co commands
|
2021-03-07 15:51:40 +03:00 |
|
eleksir
|
c8a766881e
|
flickr.pm: Implement flickr.com searching api
|
2021-03-07 14:34:16 +03:00 |
|
eleksir
|
f669186787
|
image.pm: use large thumbnail instead of real photo in imgur plugin
|
2021-03-02 01:36:54 +03:00 |
|
eleksir
|
1991edc803
|
botlib.pm: forgot that rabbit() should be explicitly imported
|
2021-03-01 02:39:00 +03:00 |
|
eleksir
|
bdcd3b56e5
|
Update README.md - this bot not so simple already
|
2021-03-01 02:12:25 +03:00 |
|
eleksir
|
5d14f08084
|
Implement (beta-quality) !rabbit, !bunny, !кролик commands and imgur api client for them
|
2021-03-01 02:10:58 +03:00 |
|
eleksir
|
dd67f33ec5
|
Merge fox and kitty plugins to image.pm, add oboobs, obutts command family, extend/fix admin.pm
* Merge fox and kitty plugins to image.pm
* Add !tits, !tities, !boobs, !boobies, !сиси, !сисечки commands
* Add !butt, !booty, !ass, !попа, !попка commands
* Add generic interface for plugin toggle flags
* Fix a bit morning fortune status plugin
|
2021-02-25 22:54:04 +03:00 |
|
eleksir
|
f4651ff915
|
Add !fox and !лис commands
|
2021-02-24 00:24:33 +03:00 |
|
eleksir
|
9fc11c7cf4
|
Admin censor: voice messages are special
|
2021-02-23 20:07:16 +03:00 |
|