mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
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)
This commit is contained in:
1 parent
b7f20fcb02
commit
2494bf79d6
11 files changed
+158
-71
No files matched your search
@@ -53,9 +53,9 @@ export function buildPlayerEmbed(bot, msg, player, timeout, state = {}) {
|
||||
let filterStatus = bot.t(msg, "responses.player.filterOff");
|
||||
if (player.activeFilter) {
|
||||
if (player.activeFilter.label.includes("+")) {
|
||||
filterStatus = `🔥 **${player.activeFilter.label}**`;
|
||||
filterStatus = bot.t(msg, "responses.player.filterStacked", { label: player.activeFilter.label });
|
||||
} else {
|
||||
filterStatus = `${player.activeFilter.emoji ?? "🎛️"} **${player.activeFilter.label}**`;
|
||||
filterStatus = bot.t(msg, "responses.player.filterActive", { emoji: player.activeFilter.emoji ?? "🎛️", label: player.activeFilter.label });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ export function buildPlayerEmbed(bot, msg, player, timeout, state = {}) {
|
||||
`${timeDisplay}`,
|
||||
``,
|
||||
bot.t(msg, "responses.player.volumeLabel", { volume: volPercent }) + " " + volumeBar,
|
||||
`${bot.t(msg, "responses.player.queueLabel", { count: queueSize })} | Loop: ${loopStatus} | Filter: ${filterStatus}`,
|
||||
`${bot.t(msg, "responses.player.queueLabel", { count: queueSize })} • ${loopStatus} • ${filterStatus}`,
|
||||
``,
|
||||
state.message ? `💬 *${state.message}*` : `💡 *${bot.t(msg, "responses.player.reactHint")}*`,
|
||||
``,
|
||||
@@ -83,7 +83,7 @@ export function buildPlayerEmbed(bot, msg, player, timeout, state = {}) {
|
||||
: msg.author?.avatarURL ?? null;
|
||||
|
||||
const builder = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setColor(0xe9196c)
|
||||
.setTitle(bot.t(msg, "responses.player.title"))
|
||||
.setDescription(description)
|
||||
.setFooter({
|
||||
|
||||
Reference in new issue
Block a user