Commit graph

70 commits

Author SHA1 Message Date
f5398dc779 fix: add @Inject to MemberCounterListener, remove duplicate ResetLevelsCommand binding 2026-06-20 15:47:45 +02:00
53897df911 feat: Math.clamp in moderation commands, server stats charts/CSV, +121 tests, fix checkstyle warnings 2026-06-20 15:12:09 +02:00
4a3bc33356 test: 49 tests for economy services (EconomyService, BlackjackService, SlotService, JobService) 2026-06-20 00:36:57 +02:00
0787e98921 feat: configurable level roles via !levelrole admin command
- LevelRoleCommand: set/remove/clear role mappings per level
- LevelRoleService: reads from ConfigRepository, falls back to defaults
- LevelCommandRegistrar: wires new command
2026-06-20 00:33:28 +02:00
283b30f979 feat: wire economy LC to message/voice, add LevelRoleService, improve level-up embed
- MessageListener: +1-3 LC per message
- VoiceTracker: +1 LC/min periodic, +1 LC/2min on leave
- LevelRoleService: auto-assigns roles (Активный/Постоянный/Ветеран/Легенда/Мастер) at levels 5/10/20/30/50
- LevelUpNotifier: progress bar, role reward display, EmbedFactory chain
2026-06-20 00:31:19 +02:00
fe121c8546 feat: economy system with minigames, bank, rob, jobs, fishing, blackjack, slots
+ economy domain (EconomyAccount, Job, SlotCombination, EconomyTransaction)
+ EconomyRepository + SqlEconomyRepository + DB schema
+ EconomyService (transfer, daily, deposit/withdraw, stat upgrades)
+ FishingService (fish grid with difficulty levels, speed bonus)
+ BlackjackService (dealer stands on 16, ties lose)
+ SlotService (weighted combos up to x50)
+ JobService (6 jobs with level reqs and efficiency stat)
+ 11 commands: balance, baltop, pay, daily, bank, rob,
  fish, blackjack, slot, job, work
+ Tests for SqlEconomyRepository
+ EconomyModule + EconomyCommandRegistrar wired into BotModule
2026-06-20 00:23:15 +02:00
fcb5cd7207 feat: add social commands, MetricsCollector, moderation commands to feature packages 2026-06-19 23:44:10 +02:00
loki5512344
63f8763ff9 feat: add ResetLevelsCommand, user voice presets with extended settings, fix channel name format 2026-05-11 17:16:40 +02:00
loki5512344
9f6e19e5c6 refactor: move voice, counter, and role to feature/ domains 2026-05-11 17:08:17 +02:00
loki5512344
27dc060bf4 refactor: remove if-else forests from rating commands using RatingLevel pattern 2026-05-11 17:02:53 +02:00
loki5512344
376d1a2c3b docs: add task to refactor if-else forests in rating commands, fix GayCommand package 2026-05-11 16:58:31 +02:00
loki5512344
4329b988e2 refactor: entertainment commands reorganized into subfolders 2026-05-11 16:56:21 +02:00
loki5512344
fede91de5a refactor: реорганизация структуры - registry и listener подпапки, удален StopCommand, исправлен баг MetricsCommand 2026-05-11 16:53:54 +02:00
loki5512344
f460c59e2f feat: ефакторинг системы уровней + генератор профильных карточек
- Создана доменная структура feature/level/ с разделением на domain/service
- ынесены классы LevelUpResult, LevelProgress, UserStats, XpFormula
- Созданы сервисы: LevelService, MessageCooldownService, LeaderboardService
- еремещены команды и листенеры в feature/level/
- далены импорты AudioManager и мертвые ссылки на TTS
- бновлены все тесты

овая функциональность:
- енератор красивых профильных карточек (RankCardGenerator)
- оманда !profile для просмотра карточки с уровнем, XP, статистикой
- оманда !stop для безопасной остановки бота (только админы)
- обавлены ассеты: фоны, иконки, бейджи

Технические улучшения:
- ерсистентный кулдаун через UserStats.lastMessageTime
- бобщенные методы лидерборда через Comparator
- Graceful shutdown с сохранением всех данных
- Fallback на заглушки если ассеты не загрузились
2026-05-11 16:43:51 +02:00
loki5512344
aa3388cd9e Update TODO: mark Stage 1.1-1.3 as done, add reset levels command 2026-05-11 14:28:45 +02:00
loki5512344
703d0b7e49 Refactor Stage 1.1-1.3: Create repository layer, move util to core/security and integration/nekos 2026-05-11 14:27:50 +02:00
loki5512344
17f979b5d3 Update TODO: detailed refactoring plan with proper priorities and XP formula fix 2026-05-11 14:15:09 +02:00
loki5512344
64a8928d41 Refactor: remove TTS system, slash commands folder, reorganize stats leaderboard 2026-05-11 14:12:30 +02:00
loki5512344
f43db6a527 Improved help system with category selector and main page 2026-05-11 14:01:54 +02:00
loki5512344
0f664e317e Initial commit: Discord bot with XP system, voice channels, moderation logs, and member counter 2026-05-11 13:55:12 +02:00