Commit graph

2 commits

Author SHA1 Message Date
604d3e59a8
refactor: move classes to subpackages, add rating commands, remove R34
- Move image commands to booru/e621 subpackages
- Move economy services to game/ subpackage
- Move level commands/services to admin/tracker/cooldown subpackages
- Move moderation repos to sql/ subpackage
- Move radio/ticket/reactrole classes to subpackages
- Move VoiceHelper/ChoiceOptionParser to feature/utility
- Add 13 rating commands (fat, pp, aura, luck, etc.)
- Remove R34 command (requires API key)
- Add PMD ruleset config
- Add CommandCategories.MEASUREMENTS
- Fix all imports for moved classes
2026-07-29 15:18:57 +02:00
0d916fbd96 refactor: KISS/DRY/SOLID раунд + багфиксы радио/voice/message
Что сделано:
- RatingService (getDeterministicValue + cooldown — одна точка)
- ModerationHelper (trunc/err — одна точка)
- VoiceHelper (waitForCondition с таймаутом)
- SocialCommand (7 файлов → 1 Flavor enum)
- SwapCommand + CaseLookupCommand (Split SRP)
- PlayCommand 219→150, BotInitializer 182→135, RankCardGenerator (1→4)
- MetricsCollector 182→143, TrackScheduler 202→146, VoiceChannelManager 187→150
- QueueCommands 207→149, VoiceSetupPrefixCommand 183→146, ServerStatsService 187→150
- GuildMusicManager 167→150, SqlEconomyRepository 169→149, GenerateRatingsCommand 172→147
- RadioManager: таймауты, volume при старте, защита от утечки
- VoiceTracker: race condition fix + LevelUpNotifier
- MessageCooldownService: in-memory cache
- MessageListener: LevelUpNotifier вместо inline embed
- ResetLevelsButtonHandler: правильный парсинг кнопки
- OkHttp: java.net.http → OkHttp 5.4.0
- SlowmodeCommandTest: SelfMember fix
Всё: 415 tests, 2 pre-existing, checkstyle чисто
2026-07-04 18:46:27 +02:00