Commit Graph
74 Commits
Author SHA1 Message Date
NoLogicAlan 04ce02f672 feat: add %wrapped global and %top global cross-server statistics 2026-11-20 23:59:21 +03:00
NoLogicAlan 22f48cfaab feat(stats): add server music leaderboard (%top), community recap (%wrapped)
- implement GuildStats manager for tracking playback history, listening hours, and user engagement
- wire asynchronous play recording into PlayerEventsMixin on track start
- add %top command with timeframe filtering (week, month, all) and top artist highlight
- add %wrapped command displaying total streamed hours, queued tracks, peak hour, and top DJ
2026-11-20 23:36:11 +03:00
NoLogicAlan a99e5bca37 feat(music): add inactivity watchdog warning, out-of-band radio titles
- add inactivity warning event and embed prompt before autoleave in Player & PlayerLifecycleMixin
- implement out-of-band ICY/Icecast metadata poller in RadioMetadata to track live radio titles without stream corruption
- wire live radio title updates into nowPlaying and announceSong in DisplayMixin and PlaybackMixin
2026-11-20 23:07:50 +03:00
NoLogicAlan 21197e7f22 refactor(locale): replace server terminology with communities across all locales 2026-11-14 00:58:15 +03:00
NoLogicAlan c188aac903 feat(i18n): complete HelpCommand localization for de-DE, pt-BR, tr, ar-SA, and ckb 2026-11-11 00:49:55 +03:00
Tomo a319257abc fix(help): integrate help command with native i18n system and fix alias suppression 2026-11-10 08:43:55 +08:00
Tomo 03cc3c2606 feat(i18n): add Simplified Chinese (zh-CN) and Traditional Chinese (zh-TW) locales 2026-11-10 08:12:05 +08:00
NoLogicAlan 36139837ba feat(status): implement public status channel system with live telemetry, automated incident tracking, and multi-language support
- 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`.
2026-11-10 02:31:48 +03:00
NoLogicAlan 7c5fb1e468 feat(music): support direct media playback from Fluxer attachments and uploaded files (#24)
- Add AttachmentUtils for detecting fluxerusercontent.com URLs and chat file attachments
- Support playing uploaded audio/video files directly via %play and %playnext
- Add Route 3d in-process ffmpeg decoding for container formats (.mp4, .mkv, .mov, etc.)
- Add native zero-re-encode passthrough for .opus, .webm, and .ogg attachments
- Add 📎 Fluxer Attachment source badges and embeds across all 6 locales
- Fixes #24
2026-10-29 03:08:20 +03:00
NoLogicAlan 3b9620012f feat: modernize UI, overhaul ErrorChannel telemetry, and achieve 100% 6-locale parity
- Core & Telemetry:
  * Overhaul ErrorChannel (config.errorLogChannel) to rich Pro Embeds with severity color coding (Error, Warn, Info).
  * Add structured crash reports featuring syntax-highlighted stack traces, uptime, and RSS memory telemetry.
  * Add log flood drop notifications and startup connection status announcement.
  * Support dynamic self-hosted Fluxer API base resolution (config.apiBase / config['fluxer.js'].api).
  * Wire ErrorChannel into the localization system with dynamic _t() translation and safe fallback.

- Localization & i18n:
  * Expand all 6 locale files (en, ar-SA, ckb, tr, de-DE, pt-BR) to 1,112 keys each.
  * Achieve 100% key parity and 0 variable mismatches across all supported languages.
  * Localize all embed titles, author badges, footers, and system responses.

- Commands & Modern UI:
  * Upgrade all commands (playback, queue, audio DSP, utility, lastfm, settings, owner) to the modern Pro UI embed design.
  * Add previous, replay, and skipto queue navigation commands with history tracking.
  * Replace raw unicode escapes with literal UTF-8 emojis.
  * Maintain clean codebase standards (zero single-line comments introduced, commands/stats.mjs strictly untouched).

- Architecture & Voice:
  * Enhance FluxerAudioBridge, VoiceStateRouting, and VoiceStateCache for reliable voice reconnects.
  * Refactor centralized database pooling and player lifecycle mixins.
2026-10-28 02:19:26 +03:00
NoLogicAlan c0c95610ac feat(player): add %skipto command, empty voice auto-pause, and server mute guard 2026-10-27 03:47:02 +03:00
NoLogicAlan e33fbb2fdb feat(player): add %previous, %replay, livekit skip guard, and nodelink auto-reconnect (#11, #13, #18, #19, #23) 2026-10-27 02:58:26 +03:00
NoLogicAlan 5d29301b38 fix(i18n): resolve placeholder typos, complete option descriptions and speed keys 2026-10-26 02:42:33 +03:00
NoLogicAlan edcdd4ddef feat(ui): complete UI embed 2026-10-26 02:36:56 +03:00
NoLogicAlan e8171dce26 feat(ui): modernize bot commands, Last.fm suite, and system embeds
- Modernize audio controls (%volume, %volumedefault, %bassboost, %autoplay, %trackopt, %shuffle, %clear, %list, %pause, %resume)
- Upgrade Last.fm suite (%lastfm play directory, spotlight cards, music podiums, tags, and profile stats)
- Polish system & voice embeds (%vote supporter verification, %servers network directory, %forceleave, and 24/7 watchdog)
- Achieve 100% localization parity across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR) with zero missing keys
2026-10-26 02:25:02 +03:00
NoLogicAlan 885db461ce feat(embeds): upgrade settings, 24/7 watchdog, lastfm UI and fix footer requester mentions
- Fix raw <@ID> mention syntax in player added-to-queue embed footers by resolving display username
- Restore all original 247Panel translation keys across all 6 locales and merge watchdog monitor keys
- Upgrade %settings get to modular categorized Server Control Dashboard
- Upgrade %247 panel to live voice watchdog and connection health monitor
- Upgrade %fm profile to Last.fm music identity card with user avatar and stats
- Upgrade %fm artistinfo to artist spotlight card with tags, bio, and plays matrix
- Upgrade %fm cover to high-resolution album artwork gallery frame
- Maintain 0 missing keys across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-26 00:41:05 +03:00
NoLogicAlan 36b27d466b feat(embeds): upgrade settings, 24/7 watchdog, and lastfm info embeds
- Upgrade %settings get to modular categorized Server Control Dashboard
- Upgrade %247 panel to live voice watchdog and connection health monitor
- Upgrade %fm profile to Last.fm music identity card with user avatar and stats
- Upgrade %fm artistinfo to artist spotlight card with tags, bio, and plays matrix
- Upgrade %fm cover to high-resolution album artwork gallery frame
- Add complete translations across all 6 locales (0 missing keys)
2026-10-25 04:16:36 +03:00
NoLogicAlan 63433816c4 feat(i18n): localize all newly upgraded command embeds across 6 languages
- Add complete translations for en, ar-SA, ckb, tr, de-DE, and pt-BR
- Localize author headers, fields, and footers for playnext, remove, move, and trackopt
- Localize audio mastering fields for normalize and volumedefault
- Localize Last.fm whoknows leaderboards and Crown Holder cards
- Localize help command inspector and voice channel picker embeds
- Ensure 0 missing keys and 100% translation coverage
2026-10-25 04:03:33 +03:00
NoLogicAlan 4c3c04bd7d feat(ui): upgrade audio DSP, seek, thumbnail, and voice session embeds
- Modernize %seek with track artwork thumbnail and visual progress bar
- Enhance %filter with real-time DSP active status badges and card spacing
- Add detailed frequency band indicators to %bassboost, %speed, and %pitch
- Redesign %thumbnail with framed artwork and song metadata
- Transform %leave into a structured voice session termination card
- Polish %ping with categorized latency health metrics (REST, Gateway, Audio Node)
- Leave %stats untouched as intended
- Complete translations across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:28:27 +03:00
NoLogicAlan 8874ed1ec6 feat(ui): upgrade playback action embeds
- Redesign %skip with skipped track thumbnail, elapsed time, and up-next preview
- Upgrade %pause and %resume with rich track cards and timestamp badges
- Add visual volume meter gauge (0-150%) to %volume
- Modernize %loop with single-track and queue-loop status badges
- Enhance %autoplay with status pills and recommendation engine details
- Polish %shuffle and %clear with queue reorder summaries and track counts
- Full translations added across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:19:11 +03:00
NoLogicAlan 2494bf79d6 feat(ui): upgrade queue, search, lyrics, and radio embeds
- Transform %queue / %list with Now Playing thumbnail, ranked item cards, and localized footer
- Enhance %search with provider icons, artist metadata, and localized cancel options
- Polish %lyrics with album thumbnail, Synced badge, and structured header
- Redesign %radio directory with command pills and localized pagination controls
- Standardize brand color 0xe9196c across all player commands
- Add complete translations across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR)
2026-10-25 03:11:24 +03:00
NoLogicAlan b7f20fcb02 feat(music): fully localize now-playing embeds, footers, and source platforms 2026-10-25 03:02:22 +03:00
NoLogicAlan 53e3a7e4de feat(ui): overhaul queue and playback embeds with brand color #e9196c and full locales
- Redesign %np, Added-to-Queue, and Auto-Announcement embeds with rich 3-column layouts
- Standardize all embeds to brand color #e9196c
- Transform Queue-Ended announcement with quick-action suggestions (%radio, %autoplay)
- Unify message forwarder in commands/play to support rich EmbedBuilder payloads
- Add native localization keys across all 6 supported locales (en, ar-SA, tr, de-DE, pt-BR, ckb)
2026-10-25 02:50:40 +03:00
NoLogicAlan 70f124294d fix(stats): set initial tracks played to 4814 and robust bidirectional redis sync 2026-10-24 01:46:03 +03:00
NoLogicAlan 7bd80e62f7 feat(stats): add persistent tracks played counter with redis sync 2026-10-23 01:32:38 +03:00
NoLogicAlan 64e69275a4 style(stats): overhaul embed into multi-column grid with bot thumbnail and localized categories 2026-10-22 03:09:21 +03:00
NoLogicAlan d6c233c311 feat(stats): localize music stats, add shard and queue metrics, remove audio engine line 2026-10-22 02:59:23 +03:00
NoLogicAlan ee1b9be917 Add localized response strings for normalize, bassboost, speed, and pitch across all 6 locales 2026-10-22 02:10:42 +03:00
NoLogicAlan 351336ea19 Add volume normalization, DSP filters (speed, pitch, bassboost), and playlist pagination (#16, #9, #17)
- Implement EBU R128 dynamic volume normalization & ReplayGain leveling in src/music/audio/VolumeNormalizer.mjs and commands/normalize.mjs (#16)
- Add real-time audio filter hot-reloading in PlaybackMixin.mjs and FluxerAudioBridge.mjs (#9)
- Add commands for %bassboost (low/medium/hard), %speed (0.5x-2.0x), and %pitch (0.5x-2.0x) (#9)
- Implement non-blocking background queue ingestion with progressive progress updates for large Spotify & SoundCloud playlists in SearchMixin.mjs (#17)
- Configure playlistLoadLimit: 10 in docker/nodelink.config.json (#17)
- Update README documentation and commands table (total 43 commands)
2026-10-22 01:59:45 +03:00
NoLogicAlan 500b0de4c8 rollback 2026-10-17 03:40:20 +03:00
NoLogicAlan 6e1722b723 feat: support for audio attachments 2026-10-17 03:10:21 +03:00
NoLogicAlan 2fbbdf0322 feat: FluxerList integration, log channel, and stability fixes
FluxerList:
- Auto server-count sync (posts on startup, then every 30 min, budget-aware)
- Vote check wired into the vote command (60s per-user cache)
- 429/Retry-After aware rate limiting with typed actionable errors
- Enable via config.fluxerlist.apiKey (fl_ key from FluxerList dashboard)

Log channel (ErrorChannel):
- Forwards all errors/warnings + crash reports to a Fluxer channel
- Startup confirmation message + owner-only logtest command
- Fix: @fluxerjs REST needs { body: { content } } shape (empty-message bug)
2026-09-23 02:25:53 +03:00
NoLogicAlan 16ed58a9af hotfix 2026-09-18 03:24:29 +03:00
NoLogicAlan 44fdf86962 now we can play Bilibili source Shanghai. 2026-09-17 03:25:28 +03:00
NoLogicAlan 3a29d15842 added: ping command 2026-09-17 01:03:40 +03:00
NoLogicAlan 9742288bf3 added: ping command 2026-09-17 00:54:12 +03:00
NoLogicAlan 990cc68100 hotfix 2026-09-16 03:15:16 +03:00
NoLogicAlan 5558cf8282 hotfix 2026-09-16 02:35:47 +03:00
NoLogicAlan 3a72e46775 hotfix 2026-09-16 02:15:56 +03:00
NoLogicAlan 8a8925653c hotfix/added restore queue/added some good stuff to/removing some stuff to 2026-09-16 02:02:29 +03:00
NoLogicAlan 748eafaf43 hotfix 2026-09-15 03:19:34 +03:00
NoLogicAlan f1c87d410d hotfix 2026-09-15 03:06:23 +03:00
NoLogicAlan cc0b438ef6 added: Vote-to-skip 2026-09-13 01:21:36 +03:00
NoLogicAlan e315cfbc1d no more multi voice 2026-09-13 01:14:07 +03:00
NoLogicAlan 0107e745d3 Add "bot busy in another voice channel" warning 2026-09-12 03:11:23 +03:00
NoLogicAlan 771b005d7e ... 2026-09-12 01:21:05 +03:00
NoLogicAlan 7f1d076902 ... 2026-09-11 03:57:06 +03:00
NoLogicAlan 00df253588 ... 2026-09-11 02:05:31 +03:00
NoLogicAlan 85c4bf4e8d ... 2026-09-11 01:47:38 +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