eleksir
|
59a1a3538b
|
I have nothing to do with chat reactions, so log it and skip
|
2025-05-08 17:20:50 +03:00 |
|
eleksir
|
c5b4d1c866
|
Try to catch and log as most Bot API errors as we can in TelegramBot.pm
|
2023-01-02 19:34:38 +03:00 |
|
eleksir
|
5a5e4b5ead
|
5/5 Fix formatting in TelegramBot.pm
|
2023-01-02 19:21:19 +03:00 |
|
eleksir
|
43c08e156f
|
Return only if migration performed
|
2022-12-12 17:31:18 +03:00 |
|
eleksir
|
b84f8bb245
|
Move IsCensored to Admin.pm
|
2022-12-12 17:26:50 +03:00 |
|
eleksir
|
d43cb5995b
|
Add settings migration when group -> supergroup promotion event discovered
|
2022-12-12 17:10:02 +03:00 |
|
eleksir
|
d539c8c9cf
|
DeeJay utility functions to Util.pm
|
2022-12-12 13:32:44 +03:00 |
|
eleksir
|
b4e6685213
|
Add support for Bot API 6.3
|
2022-11-06 22:08:02 +03:00 |
|
eleksir
|
b2af26d4e6
|
Ratelimit good morning greet
|
2022-05-13 11:50:41 +03:00 |
|
eleksir
|
35104f883c
|
Take into account possible api errors
|
2022-04-24 01:13:36 +03:00 |
|
eleksir
|
281a5e6b3c
|
Remove excessive debug, fix message format
* Remove duplicate debug for outgoing redis message
* Add log category for outgoing debug redis message
* Add missing field in outgoing redis message
|
2022-04-24 01:00:06 +03:00 |
|
eleksir
|
1958f77e9c
|
Also dump redis messages on debug loglevel
|
2022-04-23 14:48:34 +03:00 |
|
eleksir
|
33ab2a368d
|
More strict check of redis message json format
|
2022-04-18 23:19:19 +03:00 |
|
eleksir
|
305550f6cf
|
Set json types in more obvious fashion
|
2022-04-10 00:35:45 +03:00 |
|
eleksir
|
22cb7c9372
|
Restore good morning greet head part of message
|
2022-04-04 23:23:08 +03:00 |
|
eleksir
|
e140176c99
|
Check text length while detecting command
|
2022-04-03 16:53:07 +03:00 |
|
eleksir
|
3c8f79a19a
|
Use regex while omittimg response to response on our new member greet
|
2022-04-03 16:40:10 +03:00 |
|
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 |
|