Commit Graph

28 Commits

Author SHA1 Message Date
eleksir
8ce226f755 Более корректно работаем с substr() и задаём misc->answer явно 2022-03-27 20:08:57 +03:00
eleksir
6cd7c4091b Set userid and chatid explicitly to num for redis json msg 2022-03-26 09:49:30 +03:00
eleksir
03a4a51a86 Add !admin goodbye command 2022-03-06 00:48:16 +03:00
eleksir
de2106b16b Add !admin greet command 2022-03-06 00:08:34 +03:00
eleksir
a9bb74b440 Perlcritic overhaul, apply to Teapot lib too 2022-02-12 17:50:23 +03:00
eleksir
90828ccbf9 Fix perlcritic warning in TelegramBot.pm 2022-01-28 21:42:23 +03:00
eleksir
e135ef7d7c Deejay redis subs to RedisLib.pm, translate comments, small fixes 2022-01-28 20:11:00 +03:00
eleksir
731d707baa Remove duplicate code 2022-01-28 17:43:54 +03:00
eleksir
ba14f6e619 Use all types of greet phrases to omit answer if newcommer respond to our greet with quotation 2022-01-28 17:21:16 +03:00
eleksir
00a82dd2cd Braindir with brains themselves moved to aleesa-craniac application 2022-01-28 16:27:28 +03:00
eleksir
6554879b19 In newcommer greeting treat space-char-only first_name or last_name as non-existing 2022-01-28 16:25:10 +03:00
eleksir
ca946c7e7b Move web client and karma plugins to redis rails, remove unneeded data and perl modules 2022-01-06 04:13:38 +03:00
eleksir
c68f716cbb Try to move most of static commands to redis rails 2022-01-01 02:00:43 +03:00
eleksir
31e077c219 Add easter egg phrases in private and group conversations, fix previous addition of private phrases a bit 2021-12-25 15:44:36 +03:00
eleksir
1d287f853f Move !ping to redis rails 2021-12-19 20:39:03 +03:00
eleksir
e74a3e46c1 Use main:: namespace to preserve telegram and redis context 2021-12-19 13:54:28 +03:00
eleksir
186b112eba Merge branch 'master' into redis 2021-12-19 12:19:01 +03:00
eleksir
f223ba04ae Extend weather command list, add !weather, !погода, !погадка, !погодка, also allow oboobs and obutts plugins in private conversation 2021-12-18 17:24:21 +03:00
eleksir
f33e05a91c Add test client for redis 2021-12-11 15:38:58 +03:00
eleksir
ab89105168 Add initial redis support 2021-12-11 13:57:23 +03:00
eleksir
71a2471725 Couple of grammar and coding style mistakes fixes here and there 2021-12-04 03:10:41 +03:00
eleksir
e93c9f9131 Use different hello-phrases to greet newcommers 2021-12-03 20:25: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
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
8d5b5df194 FortuneToggleList() was misspelled in periodic job so fortune message was not shown 2021-04-26 11:06:16 +03:00
eleksir
fbab0a4d88 1-st run fixes after refactor 2021-04-24 16:12:30 +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