Commit Graph

28 Commits

Author SHA1 Message Date
eleksir
03634958a1 Fix typo 2022-04-22 15:46:19 +03:00
eleksir
6eeb8e7b89 Tidy incomming redis message 2022-04-22 15:42:23 +03:00
eleksir
7b32737b33 Use cloned version of incomming redis message as template for outgoing message 2022-04-22 15:01:20 +03:00
eleksir
8952828886 Use command sign from config, when misc->bot_nick is not supplied, it defaults to empty string 2022-04-22 15:00:04 +03:00
eleksir
221314ae16 Userid and chatid must be strings in order to work with chats components other than Telegram 2022-04-22 14:58:26 +03:00
eleksir
27b9a4bcbd Set each async signal handler separately 2022-04-22 14:57:14 +03:00
eleksir
98bf57c5e0 In cpanfile bump Mojolicious version 9.22->9.24, zero English version - it's part of perl 2022-04-22 14:56:01 +03:00
eleksir
7565539a14 Update .gitignore 2022-04-22 14:53:38 +03:00
eleksir
0a62499302 Update README 2022-04-17 15:28:58 +03:00
eleksir
f256ad357f Add list of perlcritic modules used for linting v1.2 2022-04-03 18:19:35 +03:00
eleksir
62311dae21 Fix typo in кости command, use shorter var name for csign 2022-04-03 18:18:38 +03:00
eleksir
30ebe8aca1 Set userid and chatid explicitly to num for redis json msg 2022-03-27 16:06:43 +03:00
eleksir
bbc5173c16 Update README v1.1 2022-02-12 19:13:21 +03:00
eleksir
622b690946 Perlcritic overhaul, add missing 'use module', update cpanfile, replace Mojo::Log with Log::Any
* Use more strict policy in perlcritic (add more policies)
* Add missing Use Encode and Use File::Spec in Craniac.pm
* Replace Mojo::Log with Log::Any, as Log::Any can catch stacktraces
* Update cpanfile
2022-02-12 19:08:00 +03:00
eleksir
5df11d2437 Minor fixes for v1.0 release, mostly comments, add openrc init script v1.0 2022-01-07 16:30:53 +03:00
eleksir
f8d0c3f701 Move Lat module here, as it uses brain too 2022-01-04 17:48:13 +03:00
eleksir
b7013d6ab0 Loop detection, easter eggs, update readme, update sample config, fix telegram-crippled brain names 2022-01-04 16:38:45 +03:00
eleksir
9c56db452c Bump version Mojo::Redis in cpanfile 2022-01-01 17:45:36 +03:00
eleksir
ca0a891522 Translate comments, fix coding style 2022-01-01 17:34:45 +03:00
eleksir
0f58c30603 Implement async signal trap via Mojo::IOLoop::Signal for more robust app stop and restart 2022-01-01 17:34:07 +03:00
eleksir
637e5f8261 Pin version numbers in cpanfile 2022-01-01 17:32:57 +03:00
eleksir
240712bf42 Use eval on lazy brain init 2022-01-01 03:47:22 +03:00
eleksir
64c8300f93 add missing ping command 2022-01-01 03:44:50 +03:00
eleksir
468baf7156 Fix default loglevel notice -> info 2022-01-01 03:43:25 +03:00
eleksir
b8291a4c3e Add static commands, common phrases and Phrases.txt 2021-12-31 20:05:03 +03:00
eleksir
352dc3b54c Use logging facility from mojo 2021-12-28 02:26:33 +03:00
eleksir
1c82a2ec0e First adoption step for production use with telegram frontend 2021-12-26 16:50:08 +03:00
eleksir
23f7b5c602 Initial commit 2021-08-18 23:59:17 +03:00