mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
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)
This commit is contained in:
1 parent
af2c725b54
commit
53e3a7e4de
11 files changed
+408
-96
No files matched your search
@@ -135,7 +135,25 @@ const PlaybackMixin = {
|
||||
if (!this._wasRadio && !this._queueEndedSent && !this._autoplay) {
|
||||
this._queueEndedSent = true;
|
||||
const prefix = this._getPrefix?.(this._guildId) ?? "%";
|
||||
this.emit("message", { embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this._t("responses._common.queueEnded", { prefix }))], system: true });
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🎧 ${this._t("responses.play.queueEndedTitle")}` })
|
||||
.setTitle(this._t("responses.play.queueEndedHeading"))
|
||||
.setDescription(this._t("responses.play.queueEndedBody", { prefix }))
|
||||
.addFields(
|
||||
{
|
||||
name: `📻 ${this._t("responses.play.radioSuggestionTitle")}`,
|
||||
value: this._t("responses.play.radioSuggestionDesc", { prefix }),
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: `🔁 ${this._t("responses.play.autoplaySuggestionTitle")}`,
|
||||
value: this._t("responses.play.autoplaySuggestionDesc", { prefix }),
|
||||
inline: true
|
||||
}
|
||||
)
|
||||
.setFooter({ text: `Remix Music • ${this._t("responses.play.voiceSessionPaused")}` });
|
||||
this.emit("message", { embeds: [embed], system: true });
|
||||
}
|
||||
this._wasRadio = false;
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user