Andriy
27ddfd39cc
[core] Massive setting system update
...
- Get rid of attribute crap. Now only interface is required
- Rename canUse to isAdmin in `Bot.IsUserAdminAsync` to match the actual meaning of variable
- Made `AnswerQuery` reusable by moving it from ContentStore to Core's CommonHandler
- Chat Settings edit frontend (inline keyboard)
- Rename NsfwOption to AllowNsfw and move it to ContentStore module
- Remove option backend testing commands
- Add KarmaMode option as an example of Select option type
2023-07-21 17:14:11 +03:00
Andriy
467ccd4fde
[core] move core handlers into subfolder
2023-07-20 21:22:35 +03:00
Andriy
8de8eac959
initial chat options implementation
2023-07-20 20:24:16 +03:00
CrazyHackGUT
acc619a21e
Fixes for cleanup all messages
2023-01-29 10:11:55 +03:00
CrazyHackGUT
ee1f1cf30c
Add autocleanup for Guess and Roll handlers
2023-01-29 10:05:44 +03:00
Andriy
261c1178b7
[entertainment] fix /guess date formatting
2023-01-18 17:17:28 +02:00
Andriy
788537c88a
[entertainment] also show response number in /guess
2023-01-18 16:51:07 +02:00
Andriy
66fe5cb4fb
[entertainment] cleanup callbackquery handler, show guessed number
2023-01-18 16:29:18 +02:00
Andriy
84e2ba44c5
[entertainment] enable accidentally disabled cooldown check
2023-01-18 16:03:41 +02:00
Andriy
7228e4ff3c
[entertainment] edit guess message instead of deleting and sending a new one
2023-01-18 16:00:53 +02:00
Andriy
90d9d61576
[entertainment] use inline keyboard to handle answers
2023-01-18 15:49:51 +02:00
Andriy
9cbb5d7240
[entertainment] move cooldown check to the handler start in /guess
2023-01-18 02:20:37 +02:00
Andriy
ec11cf4496
[entertainment] add guess game
2023-01-18 02:07:48 +02:00
Andriy
83296efbb7
[entertainment] use thread safe random, update /roll number range
2023-01-17 23:13:06 +02:00
Andriy
2722b88a15
[entertainment] roll comes back with improved logging
2023-01-07 17:47:09 +02:00
Andriy
bcdb0fefee
[core] update dependencies
2023-01-02 23:42:07 +02:00
Andriy
eca77267d7
[core] add support of new bot api
2023-01-02 20:13:41 +02:00
Andriy
2cfcddf44d
[entertainment] shutdown roll handler
2022-12-16 16:35:45 +02:00
Andriy
ffffe2a48a
[common] improve logging
2022-12-14 12:58:12 +02:00
Andriy
82129d8006
[entertainment] add /reset_roll command
2022-12-14 12:31:53 +02:00
Andriy
9a957af5ac
[entertainment] move roll handler to correct namespace, adjust some numbers
2022-12-14 11:50:02 +02:00
Andriy
4f89be554a
[entertainment] add roll command by @frolish
...
Co-authored-by: Frolish <lonkura.zip@gmail.com >
2022-12-14 11:40:27 +02:00
Andriy
dd6c896b08
[entertainment] remove unused CanPunish method
2022-07-29 13:11:13 +03:00
Andriy
2acc36d52a
[entertainment] add animation set message, fix HandleAnimation method visibility
2022-07-29 12:20:24 +03:00
West14
7a1aa77932
[entertainment] Add some debug. More correct permission check.
2022-02-08 20:28:15 +02:00
West14
ac65afea21
Fix javascript trigger regexp. Update warn entity, when banning warned user.
2022-02-08 15:17:25 +02:00
CrazyHackGUT
8ca58f7596
Potential fix for option saving
2022-01-25 23:34:37 +03:00
CrazyHackGUT
ff63d6dfaa
Code cleanup
2022-01-22 17:13:38 +03:00
West14
9c291892cd
Bump to .NET 6. Add arm64 image build. Use short commit hash on image tag.
2022-01-10 00:50:05 +02:00
West14
60f6a639b6
Fix null reference.
2022-01-07 22:30:28 +02:00
West14
ad13577541
Change superuser command log category. Fix cooldowns command.
2022-01-07 15:46:04 +02:00
West14
740527d827
Assorted improvements.
...
- Add UserService.
- Add "setrep" command.
- Rename confusing methods and variables in AbstractAnimationHandler.
- Change Bayan cooldown to Zero.
- Add crappy "cooldowns" command.
2022-01-04 17:45:06 +02:00
West14
0c943300bb
Fix fun commands can block handler chain execution.
2022-01-03 22:14:59 +02:00
West14
9f108d5021
Add JavaScript GIF response. Change cooldown.
2022-01-03 20:58:26 +02:00
West14
5678de8531
Log animation handler triggers.
2022-01-03 19:22:03 +02:00
West14
f9bfc88c25
Add cooldown logging.
2022-01-03 15:55:42 +02:00
West14
36af127845
Put mesage text to lower case when matching animations.
2022-01-03 15:32:40 +02:00
West14
68deb1ec8b
Add cooldown for animation replies.
2022-01-03 15:28:00 +02:00
West14
3261d613d0
Yet another attempt to fix case insensitive matching.
2022-01-03 15:17:11 +02:00
West14
b99614868b
Assorted improvements.
...
- Move BotExtension to Core.
- Update BotFramework
- Fix Fun commands.
- Remove ChatManagement dependency from Entertainment.
2022-01-03 14:58:53 +02:00
West14
d145aced57
Remove pdb's and json's on build. Remove EnsureLoaded call from Entertainment module.
2022-01-02 22:10:08 +02:00
West14
8d3e24295b
Move fun commands to separate module.
2022-01-02 21:56:14 +02:00