mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
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.
This commit is contained in:
1 parent
c0c95610ac
commit
3b9620012f
34 files changed
+685
-171
No files matched your search
+9
-5
@@ -240,7 +240,8 @@ export async function run(message, data) {
|
||||
|
||||
const statusEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(":mag_right: Loading direct stream...");
|
||||
.setAuthor({ name: this.t(message, "responses.play.streamPipelineAuthor") })
|
||||
.setDescription(this.t(message, "responses.play.loadingDirectStream"));
|
||||
let statusMsg = null;
|
||||
try { statusMsg = await message.reply({ embeds: [statusEmbed] }); } catch(e) { logger.warn("[Play] Error:", e?.message); }
|
||||
|
||||
@@ -255,7 +256,8 @@ export async function run(message, data) {
|
||||
|
||||
const statusEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(":mag_right: Resolving stream via Lavalink...");
|
||||
.setAuthor({ name: this.t(message, "responses.play.streamPipelineAuthor") })
|
||||
.setDescription(this.t(message, "responses.play.resolvingLavalinkStream"));
|
||||
let statusMsg = null;
|
||||
try { statusMsg = await message.reply({ embeds: [statusEmbed] }); } catch(e) { logger.warn("[Play] Error:", e?.message); }
|
||||
|
||||
@@ -285,6 +287,7 @@ export async function run(message, data) {
|
||||
|
||||
const searchEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: `🔎 ${this.t(message, "responses.play.searching")}` })
|
||||
.setDescription(this.t(message, "responses.play.searching"));
|
||||
let statusMsg = null;
|
||||
try { statusMsg = await message.reply({ embeds: [searchEmbed] }); } catch(e) { logger.warn("[Play] Error:", e?.message); }
|
||||
@@ -302,6 +305,7 @@ export async function run(message, data) {
|
||||
|
||||
const searchEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: `🔎 ${this.t(message, "responses.play.searching")}` })
|
||||
.setDescription(this.t(message, "responses.play.searching"));
|
||||
let statusMsg = null;
|
||||
try { statusMsg = await message.reply({ embeds: [searchEmbed] }); } catch(e) { logger.warn("[Play] Error:", e?.message); }
|
||||
@@ -329,7 +333,7 @@ export async function run(message, data) {
|
||||
|
||||
if (!lowerQuery && resolveProvider && (resolveProvider === "lf" || resolveProvider === "lastfm")) {
|
||||
return message.reply({
|
||||
embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription([
|
||||
embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setAuthor({ name: this.t(message, "responses.play.lastfmPlaybackAuthor") }).setDescription([
|
||||
`❌ Specify a Last.fm category after \`lf:\``,
|
||||
``,
|
||||
`**Available categories:**`,
|
||||
@@ -433,8 +437,8 @@ export async function run(message, data) {
|
||||
|
||||
const searchEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(this.t(message, "responses.play.searching"))
|
||||
;
|
||||
.setAuthor({ name: `🔎 ${this.t(message, "responses.play.searching")}` })
|
||||
.setDescription(this.t(message, "responses.play.searching"));
|
||||
|
||||
let statusMsg = null;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user