eleksir
0cfecd72b3
Implement fuzzy matching in bred answer checking to avoid repeating input phrase.
2020-12-20 14:43:32 +03:00
eleksir
e861f5420b
Implement logging via Log::Any, cleanup, remove logger()
2020-12-13 16:23:16 +03:00
eleksir
e448225a7b
Implement !friday and !пятница commands
2020-11-21 15:47:53 +03:00
eleksir
48c07b0073
Use same config parsing method for confcheck.pl too
2020-11-21 15:30:28 +03:00
eleksir
4bf814c473
Move chat commands to botlib.pm, implement !version, !ver, !версия command
2020-11-15 21:43:41 +03:00
eleksir
c6c53d6ebf
First karma run fixes
...
Thanks Ilya Savin for very special utf8 test case for karma.
2020-11-12 20:53:24 +03:00
eleksir
c71ba14bdc
Make use of karma module
2020-11-12 00:45:16 +03:00
eleksir
57120eb461
Bump ver in Teapot::Bot 0.021 -> 0.022 and clenup modules
...
- Remove Encode module from cpanfile and telegrambot.pm
+ Add Mojo::IOLoop, Mojo::UserAgent, IO::Socket::SSL
* Sort cpanfile
* Bump version Teapot::Bot 0.021 -> 0.022
* Add aleesa-telegram-bot.pid to .gitignore
2020-11-07 17:54:58 +03:00
eleksir
97eddd414d
Lint Teapot::Bot with perlcritic
...
* Use List::Util' any instead of grep in Base.pm
* Use croak() in Base.pm
2020-10-31 13:49:37 +03:00
eleksir
a480786afa
First run of Teapot::Bot fixes.
...
* Fix typos in Brain.pm
* Fix typos in User.pm
* Implement typing methods in Message object and make use of it
* Fix incorrect syntax of unless loops in telegrambot.pm
* Add Log::Any as it required by Teapot::Bot
* Do not use --update in bootstrap.sh
* Add data/lat to .gitignore
* Load ChatMember and ChatPermissions in Message object, so we can use 'em and avoid crash
* Supply missing $send_args to _post_request
2020-10-30 18:14:00 +03:00
eleksir
f816840e14
Now Telegram::Bot is Teapot::Bot
2020-10-28 18:12:49 +03:00
eleksir
d53ee53ad8
Use Cwd::utf8 to cope with returning string ut8-ness
...
* Use Cwd::utf8
* Sort cpanfile require, remove duplicates, add Cwd::utf8
* Add check on first call of abs_path()
2020-09-19 14:48:29 +03:00
eleksir
2bf710aeb7
Initial commit. Split bot from myapi as separate application.
2020-09-05 22:50:10 +03:00