mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
feat(ui): modernize bot commands, Last.fm suite, and system embeds
- Modernize audio controls (%volume, %volumedefault, %bassboost, %autoplay, %trackopt, %shuffle, %clear, %list, %pause, %resume) - Upgrade Last.fm suite (%lastfm play directory, spotlight cards, music podiums, tags, and profile stats) - Polish system & voice embeds (%vote supporter verification, %servers network directory, %forceleave, and 24/7 watchdog) - Achieve 100% localization parity across all 6 locales (en, ar-SA, ckb, tr, de-DE, pt-BR) with zero missing keys
This commit is contained in:
1 parent
885db461ce
commit
e8171dce26
33 files changed
+1529
-440
No files matched your search
+5
-3
@@ -5,7 +5,7 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { MAX_VOLUME } from "../src/utils/UI.mjs";
|
||||
import { MAX_VOLUME, ERROR_COLOR } from "../src/utils/UI.mjs";
|
||||
|
||||
/**
|
||||
* @type {CommandBuilder}
|
||||
@@ -60,8 +60,10 @@ export async function run(message, data) {
|
||||
const pct = Number(raw);
|
||||
if (pct < 0 || pct > MAX_VOLUME) {
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setDescription(this.t(message, "responses.volume.outOfRange", { max: MAX_VOLUME }));
|
||||
.setColor(ERROR_COLOR)
|
||||
.setAuthor({ name: `🔊 ${this.t(message, "responses.volume.volumeAdjusted")}` })
|
||||
.setDescription(this.t(message, "responses.volume.outOfRange", { max: MAX_VOLUME }))
|
||||
.setFooter({ text: this.t(message, "responses.volume.volumeHint", { prefix }) });
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user