Commit Graph
8 Commits
Author SHA1 Message Date
NoLogicAlan 656cbfe149 testing this for a day if its bad i just wast my time 2026-10-05 03:29:05 +03:00
NoLogicAlan d21273b418 idk 2026-09-24 03:02:37 +03:00
NoLogicAlan 2658402c39 hotfix 2026-09-19 02:28:41 +03:00
NoLogicAlan f9bb4d4c53 hotfix 2026-09-19 01:35:21 +03:00
NoLogicAlan 0317b69298 hotfix 2026-09-19 00:29:32 +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
NoLogicAlan e11fca151c no comment still working on it 2026-08-28 23:51:20 +03:00
NoLogicAlan 799b527467 feat: add Docker support — Dockerfile, docker-compose, entrypoint 2026-06-21 21:14:36 +03:00