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:
NoLogicAlan committed 2026-10-25 02:50:40 +03:00
1 parent af2c725b54
commit 53e3a7e4de
11 files changed
+408 -96

No files matched your search

+4 -7
View File
@@ -528,7 +528,7 @@ const SearchMixin = {
const video = this._lcTrackToVideo(fbResult.tracks[0], trackMeta);
if (video) {
this.addToQueue(video, top);
events.emit("message", "Successfully added [" + video.title + "](" + video.url + ") to the queue. *(found on " + fb.label + ")*");
events.emit("message", this.buildAddedToQueueEmbed(video, top, trackMeta?.requester));
if (!this.queue.getCurrent()) {
this.playNext().catch(e => logger.error("[Player] playNext error:", e.message));
}
@@ -631,7 +631,7 @@ const SearchMixin = {
const video = this._lcTrackToVideo(firstTrack, trackMeta);
if (video) {
this.addToQueue(video, top);
events.emit("message", "Successfully added [" + video.title + "](" + video.url + ") to the queue.");
events.emit("message", this.buildAddedToQueueEmbed(video, top, trackMeta?.requester));
if (playlistQuery) {
events.emit("message", "⚠️ Couldn't load the full playlist — added just this video.");
}
@@ -805,10 +805,7 @@ const SearchMixin = {
if (tracks.length === 1) {
this.addToQueue(tracks[0], top);
events.emit("message", this._t("responses.play.added", {
title: tracks[0].title,
url: tracks[0].url,
}));
events.emit("message", this.buildAddedToQueueEmbed(tracks[0], top, trackMeta?.requester));
} else {
this.addManyToQueue(tracks, top);
events.emit("message", this._t("responses.play.addedPlaylist", { count: tracks.length }));
@@ -846,7 +843,7 @@ const SearchMixin = {
try {
const track = this._buildExternalTrack(url, title, artist, trackType);
this.addToQueue(track, top);
events.emit("message", "Added **[" + track.title + "](" + url + ")** to the queue.");
events.emit("message", this.buildAddedToQueueEmbed(track, top));
if (!this.queue.getCurrent()) {
this.playNext().catch(e => {