Commit Graph

64 Commits

Author SHA1 Message Date
CrazyHackGUT 1a94764334 DeleteService should be runned too frequently 2023-01-29 10:17:25 +03:00
CrazyHackGUT ee1f1cf30c Add autocleanup for Guess and Roll handlers 2023-01-29 10:05:44 +03:00
Andriy bbcdfff2b9 [core] move message auto-delete service from code-watcher to core 2023-01-23 13:12:38 +02:00
Andriy ec11cf4496 [entertainment] add guess game 2023-01-18 02:07:48 +02:00
Andriy 98b1e2f0f7 [core] add thread safe random to DI 2023-01-17 22:48:08 +02:00
Andriy 2043fd7ccd [core] bump framework 2023-01-03 14:17:28 +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 ffffe2a48a [common] improve logging 2022-12-14 12:58:12 +02:00
Andriy 2aa54c79d0 [core] add extension to convert user into loggable string 2022-12-14 12:31:38 +02:00
Kruzya c161cb929b Allow skip loading part of modules 2022-12-05 01:28:02 +04:00
Andriy 36e5ddd5af [store] refactor, add new purchasables 2022-11-14 00:23:36 +02:00
West14 7b4c5aa3d4 [cm] change culture to ru, add no-perm warn on /ban command 2022-04-25 20:13:43 +03:00
Andriy 57a11c44a8 Merge pull request #13 from Bubuni-Team/feature/timed-bans
[cm] ability to ban user for an arbitrary period
2022-04-23 22:06:54 +03:00
West14 4accf36ffa [reputation] /addrep command 2022-04-23 21:43:29 +03:00
West14 5b77ef2b85 [cm] ability to ban user for an arbitrary period 2022-04-23 21:03:33 +03:00
West14 b58fe8b6e9 [code-watcher] init module. 2022-04-20 00:38:47 +03:00
CrazyHackGUT 49664064f6 Notification when user is flooding, fixes 2022-02-16 20:05:14 +03:00
CrazyHackGUT 8c3d7c3cc1 Merge branch 'feature/antiflood' into dev 2022-02-16 19:49:42 +03:00
CrazyHackGUT 5902968924 Fix validation of user flooding 2022-02-16 19:49:35 +03:00
CrazyHackGUT 45a89f77ee Merge branch 'feature/antiflood' into dev 2022-02-16 19:45:01 +03:00
CrazyHackGUT 520f1efe37 AntiFlood service 2022-02-16 19:44:53 +03:00
West14 e815deba58 [store] Basic content store implementation.
- Bump Telegram Bot Framework to 0.6.9-gf1e77653ff
2022-02-16 17:07:30 +02:00
West14 12a4a0ae83 More detailed logging in UserService. Rename WhoIs handler to math the classname. 2022-02-14 21:00:51 +02:00
West14 e885613c58 [reputation] Add rating. 2022-02-14 14:39:55 +02:00
West14 a4a44198c5 [reputation] Move reputation to separate module. 2022-02-14 00:18:53 +02:00
CrazyHackGUT 8ca58f7596 Potential fix for option saving 2022-01-25 23:34:37 +03:00
CrazyHackGUT 41b49370f9 Fix priority for General Handler 2022-01-23 02:08:31 +03:00
CrazyHackGUT 652c4e8466 DatabaseGenerated attribute for user option values 2022-01-23 01:49:58 +03:00
CrazyHackGUT 8f51f1ece0 Fix (?) issues related with concurrency 2022-01-22 21:54:11 +03:00
CrazyHackGUT b9a6bb0bc6 Use DbContext.Remove/Add instead of DbSet methods 2022-01-22 18:44:40 +03:00
CrazyHackGUT ff63d6dfaa Code cleanup 2022-01-22 17:13:38 +03:00
West14 5513d0b62b [whois] Remove unused import. Fix .gitignore. Do no fetch chatmember info, if custom status is set. 2022-01-20 15:00:34 +02:00
West14 a8c02184e9 [whois] Add chatmember status to output. Update .gitignore. 2022-01-20 14:28:26 +02:00
West14 b1876edf13 [rules] Fix permission check on setrules. 2022-01-18 21:59:26 +02: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 31a371b034 Change reputation counting algo. 2022-01-07 22:25:26 +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
CrazyHackGUT cf34fcd89a Cache info about users, cleanup for module 2022-01-03 23:25:20 +03:00
West14 e5d3d7d15d Attempt to fix case insensitive matching. 2022-01-03 15:08:14 +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
CrazyHackGUT c5e35a2ec5 Support module dependencies from non-app directory 2021-12-30 23:42:41 +04:00
West14 0112aea634 Reputation managment. 2021-12-28 21:00:23 +02:00
CrazyHackGUT 1096d2f72a Merge remote-tracking branch 'origin/feature/warns-net5' into feature/new-dotnet-5 2021-12-26 17:41:33 +04:00
West14 7b37e2f35d Add ChatManagement commands. Drop appsettings from version control. 2021-12-26 15:40:14 +02:00
CrazyHackGUT 756af71f15 Update EF 2021-12-26 17:06:47 +04:00
CrazyHackGUT 5f93d60277 Fix user option values on .NET 5+ 2021-12-25 23:52:09 +04:00
CrazyHackGUT 08d9474e43 Fix multiple handling 2021-12-25 21:44:39 +04:00
CrazyHackGUT 1b3a4786bf Fixes for multiple handlers 2021-12-25 20:08:40 +04:00
West14 e1c404c660 Update to new Telegram.Bot. 2021-12-25 16:41:17 +02:00