1

16 Commits

Author SHA1 Message Date
eleksir
f18544a798 More heavy perlcritic policies, more careful work with strings/substr 2022-04-03 14:23:09 +03:00
eleksir
87c29ac8d3 Implemented !proverb and !пословица commands 2021-08-11 18:15:00 +03:00
eleksir
e821356a64 Fix logging, update sample config, implement !horse !лошадка !frog !лягушка !snail !улитка commands
* Make logging use features of Log::Any and log as it should be done via this module
+ Add loglevel parameter to sample config
+ Implement !horse !лошадка !frog !лягушка !snail !улитка commands
2021-05-07 14:05:05 +03:00
eleksir
eb12b23a3d Use check for defined value after eval(), style fixes, fix typo in sub name and var name 2021-03-29 00:35:59 +03:00
eleksir
a406c7c717 Use CHI for caching in Weather and Drink modules 2021-03-28 18:39:55 +03:00
eleksir
91888e1c24 Dee-Jay files around, rename subs according perlcritic convertions, update .gitignore 2021-03-27 13:24:18 +03:00
eleksir
cf88be06db Implemented !monkeyuser, !drink, !праздник, !owl, !сова, !bunny, !rabbit, !кролик commands 2021-03-27 10:44:07 +03:00
Sergei Fedosov
c619e47560 Another bits of refactoring, code-style fixes, etc 2021-02-08 19:39:16 +03:00
eleksir
b4a1bf66cf Refactor code. Fix some bugs.
+ Use lazy brain init.
* Move plugin code out of botlib.pm.
+ Now bot can private chatting
* Properly detect real jid if can, extract username from jid
* Change chatid generation, so all previously generated brains will be lost
+ Add !dig and !копать commands
+ Add !cat and !кис commands
* Some other minor changes
2021-01-24 01:17:35 +03:00
eleksir
4c7cf8ceca Implement logging via Log::Any, cleanup, remove logger() 2020-12-13 13:35:11 +03:00
eleksir
42c5d147d5 Remove debug in fortune_seed.pl, remove unused botlib in fortune.pm and friday.pm 2020-11-23 00:53:16 +03:00
eleksir
7197b5e5ed Implement !f, !ф, !fortune, !фортунка commands 2020-11-22 13:23:17 +03:00
eleksir
451999ea29 Implement !friday and !пятница commands 2020-11-21 15:06:52 +03:00
eleksir
4077cebd4c Implement !версия, !lat and !karma, cosmetic fixes 2020-11-16 23:41:25 +03:00
eleksir
7443882c84 Use perlcritic to lint code 2020-11-14 13:51:17 +03:00
eleksir
2972e73adb Initial commit. Split bot from myapi as separate application. 2020-09-19 14:38:20 +03:00