mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
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)
This commit is contained in:
1 parent
8874ed1ec6
commit
4c3c04bd7d
14 files changed
+456
-119
No files matched your search
+17
-2
@@ -155,8 +155,23 @@ export async function run(msg, data) {
|
||||
}, rejoinDelay);
|
||||
}
|
||||
|
||||
const prefix = this.handler.getPrefix(cleanGuildId) || "%";
|
||||
const chObj = client?.channels?.get?.(activeChannelId);
|
||||
const channelName = chObj?.name ? `#${chObj.name}` : `<#${activeChannelId}>`;
|
||||
|
||||
const label247 = was247
|
||||
? " (rejoining in " + Math.round(rejoinDelay / 1000) + "s — 24/7 is still saved. Use `" + this.handler.getPrefix(cleanGuildId) + "247` to disable it.)"
|
||||
? "\n\n⏱️ " + "*(rejoining in " + Math.round(rejoinDelay / 1000) + "s — 24/7 is still saved. Use `" + prefix + "247` to disable it.)*"
|
||||
: "";
|
||||
msg.reply(this.t(msg, "responses.leave.left") + label247);
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `👋 ${this.t(msg, "responses.leave.sessionEndedTitle")}` })
|
||||
.setTitle(this.t(msg, "responses.leave.disconnectedBadge"))
|
||||
.setDescription(
|
||||
`🔊 **${this.t(msg, "responses.leave.leftChannel", { channel: channelName })}**\n` +
|
||||
`🗑️ ${this.t(msg, "responses.leave.queueCleared")}` + label247
|
||||
)
|
||||
.setFooter({ text: this.t(msg, "responses.leave.rejoinHint", { prefix }) });
|
||||
|
||||
msg.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
Reference in new issue
Block a user