Commit Graph
11 Commits
Author SHA1 Message Date
NoLogicAlan af23db1255 fix(voice): fail-fast on missing connect perms and purge un-restorable player snapshots on boot 2026-10-22 02:32:25 +03:00
NoLogicAlan 08e5d363fc fix(player, ui, voice): resolve seek 0 validation, help paginator reset, and voice retry backoff (#22) 2026-10-22 01:04:14 +03:00
NoLogicAlan cf278ed68c fix: correct unknown command name reporting and silence background voice pings (#10) 2026-10-21 04:14:10 +03:00
NoLogicAlan f2bfff59b5 fix(voice): prevent 24/7 rejoin spam when bot is not in guild or voice times out
- Check guild membership before BootRecovery and Watchdog sweeps; keep settings intact if bot is not in server
- Wire up RejoinBackoff to apply exponential cooldown when voice joins time out
- Stop redundant retry loops and deduplicate join failure logs
2026-10-21 03:38:12 +03:00
NoLogicAlan f54764d58d feat: implement player state restoration on rejoin for improved user experience 2026-10-19 01:33:18 +03:00
NoLogicAlan 97fe282bb3 rollback 2026-10-06 00:32:48 +03:00
NoLogicAlan 656cbfe149 testing this for a day if its bad i just wast my time 2026-10-05 03:29:05 +03:00
NoLogicAlan ea05777390 ... 2026-09-11 02:34:49 +03:00
NoLogicAlan 3ef54117bb bye 2026-09-10 03:02:51 +03:00
NoLogicAlan 35aab94a53 leave/247 flows behave correctly end-to-end — channel mentions render as proper #channel links 2026-09-10 02:43:55 +03:00
NoLogicAlan 253d11cd57 Remix — the complete rewrite
Upgrades the bot from fluxerjs 2.2 to 3.0 and restructures everything
into a layered architecture (~28K lines):

Dependencies:
- @fluxerjs/core, util, voice: ^2.2.0 -> ^3.0.0 (typed events,
  PartialMessage payloads, camelCase API)
- @fluxerjs/sharding ^3.0.0 added — built-in sharding mode
  (shard.mjs, one process per shard)
- @discordjs/opus dropped — opusscript + prism-media cover encoding

Architecture:
- commands: every command split into submodules (player, lastfm,
  settings, debug) with a shared CommandBuilder/Loader/Handler core
- ui: embeds, paginators, help command, permission checks
- voice: gateway event routing, rejoin/247 boot recovery, state resolver
- music: player split into Queue/Search/Playback/Display mixins,
  stream pipeline + WebM/Opus muxer (no FFmpeg needed)
- dashboard: Redis pub/sub, RPC handlers, serializers
- db: MySQL manager + per-guild settings
- services: LastFm manager split into focused mixins
- utils: sharding, 24/7 helpers, API client

Runtime fixes over v2:
- Redis v5 reconnect: capped numeric backoff (0.5s ramp to 15s),
  never exhausts, auto-recovers when the server comes back
- Redis main/subscriber clients connect in parallel; clean shutdown
- Logger storm guard: identical error/warn lines deduped in a 60s window
- self-deaf fix on voice join
- config example uses redis://127.0.0.1 (avoids IPv6 ENETUNREACH)

Housekeeping: dead code removed (Tuna.mjs + follow-redirects dep),
.gitignore added (config.json, .env, node_modules, runtime state).
2026-09-09 02:04:33 +03:00