Commit Graph
8 Commits
Author SHA1 Message Date
NoLogicAlan e11fca151c no comment still working on it 2026-08-28 23:51:20 +03:00
NoLogicAlan 092268281a refactor: centralize shared utilities, fix voice intent, and improve error visibility
- extract `cleanId()` to `Utils.mjs` and remove 97+ inline `String(x).replace(/\D/g, "")` duplicates

- add `VoiceStateResolver.mjs` with `iterateVoiceStates`, `hasHumansInChannel`, `getChannelsWithHumans` — eliminates 12+ duplicated voice-state-iteration blocks across `Player`, `PlayerManager`, `GatewayHandler`, `Dashboard`

- add `UI.mjs` for shared color, emoji, and timeout constants

- move `parseInlineProvider` to `providers.mjs`, `getMessageGuildId` to `MessageHandler.mjs`

- fix `VoiceStateCache.removeGuild` and `TrackOptionsManager` cache deletion mutating Maps during iteration

- fix `checkVoiceChannels` now async returning `{channelId, alreadyInVoice, hasHumans}` — all callers updated

- fix `FluxerRevoice` global `console.log` monkey-patch replaced with scoped `withSuppressedLiveKitLogs(fn)`

- fix `Player._get247Mode()` settings resolution chain

- fix `runnables.mjs` validators were no-ops

- promote `Player` magic numbers to named static constants

- replace all silent `catch (_) {}` with `logger.warn()` throughout

- remove unused deps: `express`, `genius-lyrics`, `ws`

- add `@file` JSDoc headers to all modules
2026-06-15 16:56:10 +03:00
NoLogicAlan bc1fe82919 cleannnn 2026-05-20 22:32:39 +03:00
NoLogicAlan 6fa8f3b540 lots of changes 2026-05-16 20:30:56 +03:00
NoLogicAlan 5183f41862 feat: voice joins with FluxerRevoice adapter 2026-05-11 20:57:19 +03:00
NoLogicAlan 3ea4ac660e test 2026-05-07 22:52:16 +03:00
NoLogicAlan 77b6a40d69 test 2026-05-06 17:57:30 +03:00
NoLogicAlan a4991d7047 feat(dashboard): implement redis-backed database and player integration 2026-05-04 20:21:00 +03:00