1

Commit Graph

  • cec2f2f875 Use ->canTalk() instead of ::canTalk() in Message.pm as it is more reliable way to check this master eleksir 2022-02-03 02:03:50 +03:00
  • a4d0afab5d Use JSON::PP explicitly rather than implicitly eleksir 2022-02-03 02:00:06 +03:00
  • 75d0e07c6d Fix error handling in canDeleteMessage eleksir 2022-02-03 00:42:13 +03:00
  • b503fec769 Fix error handling in canTalk() eleksir 2022-02-03 00:29:26 +03:00
  • c9e664b4e5 Update readmes about runtime environment eleksir 2022-01-29 18:07:03 +03:00
  • e552ecbf00 Pin versions in cpanfile eleksir 2022-01-29 18:06:23 +03:00
  • ea634710f1 In newcommer greeting treat space-char-only first_name or last_name as non-existing eleksir 2022-01-29 17:32:25 +03:00
  • e784a78979 Use all types of greet phrases to omit answer if newcommer respond to our greet with quotation eleksir 2022-01-29 17:21:04 +03:00
  • e135ef7d7c Deejay redis subs to RedisLib.pm, translate comments, small fixes redis eleksir 2022-01-28 20:07:02 +03:00
  • 731d707baa Remove duplicate code eleksir 2022-01-28 17:43:54 +03:00
  • 6840e6d5d0 Update README.md && README_RU.md eleksir 2022-01-28 17:32:31 +03:00
  • ba14f6e619 Use all types of greet phrases to omit answer if newcommer respond to our greet with quotation eleksir 2022-01-28 17:21:16 +03:00
  • 00a82dd2cd Braindir with brains themselves moved to aleesa-craniac application eleksir 2022-01-28 16:27:28 +03:00
  • 6554879b19 In newcommer greeting treat space-char-only first_name or last_name as non-existing eleksir 2022-01-28 16:25:10 +03:00
  • 9a5b899a42 Fix coding style eleksir 2022-01-28 16:22:06 +03:00
  • 3a061078d4 Move Archeologist and Fisher to separate module eleksir 2022-01-07 16:53:32 +03:00
  • ca946c7e7b Move web client and karma plugins to redis rails, remove unneeded data and perl modules eleksir 2022-01-04 05:28:09 +03:00
  • c68f716cbb Try to move most of static commands to redis rails eleksir 2022-01-01 02:00:43 +03:00
  • 31e077c219 Add easter egg phrases in private and group conversations, fix previous addition of private phrases a bit eleksir 2021-12-25 14:27:30 +03:00
  • b992698b9b Add easter egg phrases in private and group conversations, fix previous addition of private phrases a bit eleksir 2021-12-25 14:27:30 +03:00
  • ae553d8aa5 Update version in help message eleksir 2021-12-20 00:04:13 +03:00
  • 8d21991af6 Put disclaimer about feature freeze and update help message with relevant software version text eleksir 2021-12-20 00:01:43 +03:00
  • 1d287f853f Move !ping to redis rails eleksir 2021-12-19 14:42:23 +03:00
  • e74a3e46c1 Use main:: namespace to preserve telegram and redis context eleksir 2021-12-19 13:54:28 +03:00
  • 186b112eba Merge branch 'master' into redis eleksir 2021-12-19 12:19:01 +03:00
  • f223ba04ae Extend weather command list, add !weather, !погода, !погадка, !погодка, also allow oboobs and obutts plugins in private conversation eleksir 2021-12-18 17:14:18 +03:00
  • 17bd260a45 Export proper function name in RedisLib.pm, fix typo in Cli.pm eleksir 2021-12-11 16:00:21 +03:00
  • 7cac72d5b9 Fixes for cli eleksir 2021-12-11 15:55:14 +03:00
  • f33e05a91c Add test client for redis eleksir 2021-12-11 15:38:58 +03:00
  • ab89105168 Add initial redis support eleksir 2021-12-11 13:57:23 +03:00
  • 8d35bb2452 Update api with fields from v5.4 and v5.5 eleksir 2021-12-07 20:11:56 +03:00
  • 71a2471725 Couple of grammar and coding style mistakes fixes here and there eleksir 2021-12-04 03:10:13 +03:00
  • e93c9f9131 Use different hello-phrases to greet newcommers eleksir 2021-12-03 20:21:54 +03:00
  • 1abb95622a Fix bunch of grammar mistakes eleksir 2021-10-17 01:14:38 +03:00
  • bb399a5051 Add undocumented commands !kde and !кде eleksir 2021-10-12 10:54:30 +03:00
  • c5014a8f77 Weather.pm: Hardcode popular russian short city names eleksir 2021-10-01 13:23:00 +03:00
  • f83a2d3436 Anek.pm: fix rare case when fetched response is unparsable eleksir 2021-08-16 00:03:38 +03:00
  • 2134edd841 Implemented !proverb and !пословица commands eleksir 2021-08-11 16:54:21 +03:00
  • 3dd565c658 Implemented !coin !монетка !roll !dies !кости commands eleksir 2021-08-11 12:43:10 +03:00
  • 7147b785e7 Add !anek !анек !анекдот commands eleksir 2021-07-29 21:26:59 +03:00
  • f1ad32d5ae Add migration scripts and doc. eleksir 2021-07-05 16:56:01 +03:00
  • 66f64da5c6 Fix incorrect error message when unable to create gamestatdir eleksir 2021-07-05 13:54:27 +03:00
  • cf71cd7f6f Apply perlcritic eleksir 2021-07-03 11:20:13 +03:00
  • eddbcc6277 Prep for gamestat implementation eleksir 2021-07-02 15:41:21 +03:00
  • 30fb568de0 Use "от ... до ..." instead of simple dash in Weather.pm eleksir 2021-06-28 11:01:40 +03:00
  • 9c9e67e0a2 Enhance Weather.pm eleksir 2021-06-28 10:50:53 +03:00
  • 47e82449e7 Update present api implementation to botapi v5.3 eleksir 2021-06-26 10:00:51 +03:00
  • b6ec09c5de Now bot triggers on phrase "кто все эти люди?" correctly even if it mentioned first eleksir 2021-06-24 01:21:51 +03:00
  • dca58a3deb Add undocumented voice field to ChatMemberUpdated object eleksir 2021-06-12 14:09:40 +03:00
  • 6d439a1b44 Implement !horse !лошадка !frog !лягушка !snail !улитка commands eleksir 2021-05-06 10:36:05 +03:00
  • 096877bee2 Make logging use features of Log::Any and log as it should be done via this module. Cleanup sample config. eleksir 2021-05-04 18:04:32 +03:00
  • 095cb57a18 Implemented !хелп, !хэлп, answer 'кто все эти люди?' question, hide notext log message to debug lever eleksir 2021-05-04 13:27:12 +03:00
  • 36c79eb46c Add BotLib changes to all remain scripts in bin dir eleksir 2021-05-01 01:29:02 +03:00
  • dd693bf5fb Update Flickr API registration procedure in README_RU.md eleksir 2021-05-01 01:08:41 +03:00
  • b8c3f4957c Update objects of Teapot::Bot according Bot API docs. Add missing fields. eleksir 2021-05-01 00:40:18 +03:00
  • ec6c63a954 Add 'text' field to ChatMemberUpdated, looks like they miss to document it eleksir 2021-04-30 23:53:51 +03:00
  • 62650bd8ad Update to api 5.2 changes (no payments-2.0) eleksir 2021-04-30 23:42:54 +03:00
  • 8d5b5df194 FortuneToggleList() was misspelled in periodic job so fortune message was not shown eleksir 2021-04-26 11:06:16 +03:00
  • 0befdf6327 Set log verbosity of CHI::Driver to warn to avoid excessive logging flood eleksir 2021-04-25 01:39:49 +03:00
  • 8e2414288b Fix some errors of tg api v5.1 transition eleksir 2021-04-25 00:40:48 +03:00
  • fbab0a4d88 1-st run fixes after refactor eleksir 2021-04-24 16:12:30 +03:00
  • a3f8b43f07 Merge branch 'master' into chi eleksir 2021-04-24 11:53:26 +03:00
  • 615213ee41 Merge branch 'master' into update_teapot_bot_lib_to_api_v5.1 eleksir 2021-04-22 19:47:58 +03:00
  • 0aae36d534 Merge branch 'master' into update_teapot_bot_lib_to_api_v5.1 update_teapot_bot_lib_to_api_v5.1 eleksir 2021-04-22 19:47:58 +03:00
  • e7ef39366b Try not to die inside Mojo::Reactor::Poll if some incorrect data lands in update eleksir 2021-04-22 18:07:39 +03:00
  • 3c721b905f Sometimes xkcd.ru returns redirect to 404, retry to get correct content in this case. eleksir 2021-04-22 18:40:46 +03:00
  • 8665a6ddda Refactor some parts of bot eleksir 2021-04-21 14:07:20 +03:00
  • f7634a26d1 Add README_RU.md eleksir 2021-04-21 14:58:17 +03:00
  • 729489236f move admin to CHI eleksir 2021-04-07 13:43:34 +03:00
  • cec3ed66fb Introduce cachedir config pragma, move karma to CHI eleksir 2021-04-05 16:25:56 +03:00
  • 57dee8b168 Replace HTTP::Tiny with Mojo::UserAgent and Mojo::UserAgent::Cached eleksir 2021-04-05 00:56:27 +03:00
  • 5d17018490 Update Teapot::Bot to v5.1 api data types, add some debug eleksir 2021-03-31 10:57:19 +03:00
  • b8fb89358e Try not to die if tg api call timeouts or api returns garbage eleksir 2021-03-30 20:04:21 +03:00
  • c6ce5b1421 Perlcritic and similar fixes, no functional changes eleksir 2021-03-27 10:35:04 +03:00
  • 36208a35d5 botlib.pm: Add use monkeyuser to fix it eleksir 2021-03-22 13:48:47 +03:00
  • 23471ee185 Implement !drink and !праздник commands eleksir 2021-03-14 14:02:47 +03:00
  • 3a39cf8513 Update README.md eleksir 2021-03-12 14:45:49 +03:00
  • bca6ee8512 sample_config.json: Update sample config eleksir 2021-03-12 11:22:42 +03:00
  • 2af166e3e6 Implement !monkeyuser command eleksir 2021-03-10 12:59:51 +03:00
  • 6735d6217a Implement !buni command eleksir 2021-03-09 15:52:48 +03:00
  • 3eb3e2126d Implement !xkcd command eleksir 2021-03-08 16:14:21 +03:00
  • c58a571da5 flickr.pm: handle error, more safe work with db eleksir 2021-03-07 21:32:54 +03:00
  • efea02972c Move away imgur client to imgur.pm, make typing notification before do web api queries, update gitignore eleksir 2021-03-07 21:17:24 +03:00
  • d55d35f877 Implement !owl and !сова commands and improve !rabbit and co commands eleksir 2021-03-07 14:36:14 +03:00
  • c8a766881e flickr.pm: Implement flickr.com searching api eleksir 2021-03-07 14:34:16 +03:00
  • f669186787 image.pm: use large thumbnail instead of real photo in imgur plugin eleksir 2021-03-02 01:36:54 +03:00
  • 1991edc803 botlib.pm: forgot that rabbit() should be explicitly imported eleksir 2021-03-01 02:39:00 +03:00
  • bdcd3b56e5 Update README.md - this bot not so simple already eleksir 2021-03-01 02:12:25 +03:00
  • 5d14f08084 Implement (beta-quality) !rabbit, !bunny, !кролик commands and imgur api client for them eleksir 2021-03-01 02:10:58 +03:00
  • dd67f33ec5 Merge fox and kitty plugins to image.pm, add oboobs, obutts command family, extend/fix admin.pm eleksir 2021-02-25 21:09:39 +03:00
  • f4651ff915 Add !fox and !лис commands eleksir 2021-02-24 00:19:09 +03:00
  • 9fc11c7cf4 Admin censor: voice messages are special eleksir 2021-02-23 19:00:00 +03:00
  • 04cb3d2357 First run with admin module: fix typos in ChatMember.pm, Brain.pm, admin.pm, botlib.pm eleksir 2021-02-23 14:10:54 +03:00
  • e38726a1f2 Move admin commands to dedicated module, allow use admin stuff only to admins of chat eleksir 2021-02-23 14:02:56 +03:00
  • 79004942bd Teapot lib: document canTalk() function eleksir 2021-02-22 23:49:42 +03:00
  • 52724accee Teapot lib: Implement ability to delete message in chat eleksir 2021-02-22 23:28:33 +03:00
  • 4bdaea0a42 Do not answer back if someone quote our new member greet eleksir 2021-02-11 20:32:52 +03:00
  • 041ab3efeb Fix fortune src filename check and another pack of style and natural language fixes eleksir 2021-02-09 00:57:08 +03:00
  • 5d0fe793fd fisher.pm: there can be not just water eleksir 2021-02-08 13:46:13 +03:00
  • 4616470584 Fix 2 more typos - assign last name when it exist eleksir 2021-02-07 21:30:39 +03:00