- StatusChannelManager Service:
• Implement dedicated public status channel manager with periodic self-updating live telemetry card.
• Report real-time Fluxer gateway latency, uptime, active music sessions, listener counts, guild footprint, and subsystem statuses.
• Add visual Unicode progress bars for RAM (process RSS vs. system total) and CPU utilization across CPU cores.
• Add dual-color incident lifecycle management:
- 🔴 Incident Outage embeds with start timestamp, severity level, investigating status, and optional role mentions.
- ✅ Incident Resolution embeds with automatic downtime duration calculation and stable verification.
• Wire automated incident triggers into Bot lifecycle (Lavalink node disconnect/reconnect, process shutdown) and GatewayHandler (gateway drops and ready/resumed reconnects).
- Owner Diagnostic Command:
• Add `statustest` owner-only command with subcommands:
- `refresh`: Force an immediate update and edit of the live status card.
- `incident <target> [reason]`: Simulate subsystem outage alerts.
- `resolve <target> [note]`: Simulate incident resolution with calculated downtime.
- Complete Multi-Language Localization:
• Add full translations for `statustest` and `statusChannel` across all 6 supported locales:
- English (`en.json`)
- German (`de-DE.json`)
- Portuguese (`pt-BR.json`)
- Turkish (`tr.json`)
- Arabic (`ar-SA.json`)
- Central Kurdish (`ckb.json`)
• Wire `StatusChannelManager` and `statustest` to dynamically resolve translated strings via `remix.locale.translate`.
- Unify MySQL pools in src/db/PoolManager.mjs shared across Settings, TrackOptions, LastFm, Dashboard, and PlayerStateStore
- Support global config.mysql.connectionLimit (default 15), preventing connection starvation
- Add gracefulShutdown() in Bot.mjs to flush active player queues and playback positions to MySQL on SIGTERM/SIGINT
- Update shard.mjs to forward SIGTERM and await shard worker queue flushes before exit
- Add event-loop responsiveness healthcheck in docker-compose.yml and Dockerfile via heartbeat probe
- Document connectionLimit and queue persistence in README and config templates
- presenceContents entries now accept plain strings (backwards
compatible) or rich objects with:
text — status text (required)
emoji_name — unicode emoji or custom emoji name
emoji_id — snowflake ID for custom guild emojis
activity — { name, type, url? } where type follows Fluxer
activity types (0=Playing 1=Streaming 2=Listening
3=Watching 5=Competing)
- Both index.mjs (initial presence on login) and
GatewayHandler.mjs (rotating presence loop) updated to resolve
each entry: builds custom_status from text/emoji fields and
appends activities[] if an activity object is provided
- Add presenceContents-Comment field to config_example.json
documenting the schema with three example entries (custom guild
emoji + Listening activity, unicode emoji, credits entry)
fix: safe-load storage/modules.json on startup
- index.mjs wrapped modules.json read in try/catch; logs a clear
warning and starts with an empty modules array instead of
crashing on ENOENT or malformed JSON
- Add LastFmManager with full Last.fm API auth flow (get token →
user authorises → get session key stored in MySQL)
- Add %lastfm command (aliases: lf, lfm) with subcommands:
link, confirm, unlink, np, profile, loved, top, recent, scrobble
- Auto-scrobble in PlayerManager: sends now-playing notification to
all human voice-channel members on track start, then defers a
scrobble after the configured threshold (default 50% of duration
or 4 min, whichever comes first)
- Add lastfm config block to config_example.json (apiKey,
apiSecret, scrobbleThreshold, scrobbleMinMs)
- Add all Last.fm locale strings to storage/locales/bot/en.json
fix: show channel as Discord mention in inactivity leave message
- RecoveryManager: changed plain activeChannelId to
<#activeChannelId> so it renders as a clickable channel link
feat(filter): add %filter command with Bass Boost, Nightcore, Vaporwave,
8D, Karaoke, Tremolo and more; filter status now shown in %player UI
feat(player): add Filter button (🎛️) to player controls; display active
filter name/emoji in queue status line
feat(commands): add per-user command cooldown (1.5s) in CommandHandler;
owners are exempt so %reload/%eval are never blocked
feat(settings): debounce rapid set() calls into a single remoteSave()
80ms after the last write; prevents N parallel DB queries per command
feat(storage): add announcementChannelId field to defaults.json
fix(play): wrap statusMsg send in try/catch; fall back to fresh reply
if the initial status message fails to send
fix(stats): normalise guild.members.fetch() result (Collection, array,
or plain object) to avoid infinite pagination loop; use memberCount
as primary member count
fix(search): normalise reaction event user ID across Fluxer event shapes
(user_id / userId / user.id) so author filter works reliably
fix(forceleave): await this.players.leave() — was missing await, could
silently swallow errors
fix(MessageHandler): guard register() against double-call on hot-reload;
second call now returns early to prevent duplicate listeners
fix(MoonlinkManager): add getLiveSessionId() helper that walks active
nodes to find a valid session before falling back to cached value
fix(reload): use pathToFileURL() for cache-busting import URL so Windows
drive letters and spaces in paths are handled correctly
fix(eval): broaden sensitive-key list (mysql, nodelink, _nl, credential,
apikey, webhook); increase scan depth to 6; handle circular refs in
hasSensitive(); normalise keys to lowercase for matching
fix(worker): compile sanitize regexes once at module load instead of
on every sanitizeError() call
fix(Player): cache compiled sanitize regexes keyed by host:port:password
to avoid rebuilding identical RegExp objects on every error path
fix(index): wrap config.json read in try/catch with clear FATAL messages
for missing file or malformed JSON; validate required keys at startup
config: add rest.timeout/retries and nodelink requestTimeout to
config_example.json with explanatory comments