mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
Compare commits
9
Commits
618ecb1a0b
...
36b27d466b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36b27d466b | ||
|
|
63433816c4 | ||
|
|
8689dee50a | ||
|
|
4c3c04bd7d | ||
|
|
8874ed1ec6 | ||
|
|
2494bf79d6 | ||
|
|
b7f20fcb02 | ||
|
|
53e3a7e4de | ||
|
|
af2c725b54 |
No files matched your search
+18
-10
@@ -579,6 +579,8 @@ export async function run(msg, data) {
|
||||
const p = await this.getPlayer(msg, true, true, false);
|
||||
if (!p) return;
|
||||
|
||||
const prefix = this.handler.getPrefix(msg.message?.guildId ?? msg.channel?.guildId) || "%";
|
||||
|
||||
p._autoplay = !p._autoplay;
|
||||
|
||||
if (p._autoplay) {
|
||||
@@ -589,11 +591,14 @@ export async function run(msg, data) {
|
||||
p._autoplayHandler().catch(() => {});
|
||||
}
|
||||
|
||||
return msg.reply({
|
||||
embeds: [new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(this.t(msg, "responses.autoplay.enabled"))]
|
||||
});
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🔁 ${this.t(msg, "responses.autoplay.autoplayTitleEnabled")}` })
|
||||
.setTitle("🟢 Active")
|
||||
.setDescription(this.t(msg, "responses.autoplay.autoplayDescEnabled"))
|
||||
.setFooter({ text: `${this.t(msg, "responses.autoplay.autoplayEngine")} • ${prefix}autoplay to disable` });
|
||||
|
||||
return msg.reply({ embeds: [embed] });
|
||||
} else {
|
||||
detachAutoplay(p);
|
||||
p._autoplayHistory = [];
|
||||
@@ -606,10 +611,13 @@ export async function run(msg, data) {
|
||||
p._autoplaySeedTags = null;
|
||||
p._autoplayPickedVids = null;
|
||||
|
||||
return msg.reply({
|
||||
embeds: [new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(this.t(msg, "responses.autoplay.disabled"))]
|
||||
});
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `⏹️ ${this.t(msg, "responses.autoplay.autoplayTitleDisabled")}` })
|
||||
.setTitle("🔴 Disabled")
|
||||
.setDescription(this.t(msg, "responses.autoplay.autoplayDescDisabled"))
|
||||
.setFooter({ text: `${prefix}autoplay to enable` });
|
||||
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
}
|
||||
+36
-5
@@ -5,7 +5,7 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
export const BASSBOOST_PRESETS = {
|
||||
low: {
|
||||
@@ -59,7 +59,7 @@ export const command = new CommandBuilder()
|
||||
o.setName("level")
|
||||
.setDescription("Bass boost level: 'low', 'medium', 'hard', or 'off'.", "options.bassboost.level")
|
||||
.addChoices("low", "medium", "hard", "off")
|
||||
.setRequired(false)
|
||||
.setDefault("medium")
|
||||
)
|
||||
.addAliases("bb", "bass");
|
||||
|
||||
@@ -74,13 +74,18 @@ export async function run(message, data) {
|
||||
const p = await this.getPlayer(message, false, false, false);
|
||||
if (!p) return;
|
||||
|
||||
const current = p.queue?.getCurrent();
|
||||
const levelArg = data.get("level")?.value?.toLowerCase() || "medium";
|
||||
const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%";
|
||||
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor());
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c);
|
||||
|
||||
if (levelArg === "off" || levelArg === "none" || levelArg === "reset") {
|
||||
await p.applyFilter({}, null);
|
||||
embed.setDescription(this.t(message, "responses.bassboost.disabled"));
|
||||
embed.setAuthor({ name: `🔊 ${this.t(message, "responses.bassboost.eqTitle")}` })
|
||||
.setTitle("⏹️ Bass Boost Off")
|
||||
.setDescription(this.t(message, "responses.bassboost.disabled"))
|
||||
.setFooter({ text: `${prefix}bassboost <low|medium|hard>` });
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
@@ -97,6 +102,32 @@ export async function run(message, data) {
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
embed.setDescription(this.t(message, "responses.bassboost.applied", { level: preset.label }));
|
||||
let desc = this.t(message, "responses.bassboost.applied", { level: preset.label });
|
||||
if (current?.title) {
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const authorStr = rawAuthor ? ` • ${rawAuthor}` : "";
|
||||
desc += `\n**${Utils.truncate(current.title, 45)}**${authorStr}`;
|
||||
}
|
||||
|
||||
const subBassText = this.t(message, "responses.bassboost.subBass") || "Sub-Bass";
|
||||
const midBassText = this.t(message, "responses.bassboost.midBass") || "Mid-Bass";
|
||||
const highText = this.t(message, "responses.bassboost.high") || "High";
|
||||
|
||||
const gainSub = levelArg === "hard" ? "+1.10 dB" : levelArg === "low" ? "+0.25 dB" : "+0.70 dB";
|
||||
const gainMid = levelArg === "hard" ? "+0.80 dB" : levelArg === "low" ? "+0.15 dB" : "+0.50 dB";
|
||||
const gainHigh = levelArg === "hard" ? "-0.80 dB" : levelArg === "low" ? "+0.00 dB" : "-0.65 dB";
|
||||
|
||||
desc += `\n\n` + "`" + `${subBassText}: ${gainSub} │ ${midBassText}: ${gainMid} │ ${highText}: ${gainHigh}` + "`";
|
||||
|
||||
embed
|
||||
.setAuthor({ name: `🔊 ${this.t(message, "responses.bassboost.eqTitle")}` })
|
||||
.setTitle(`Bass Boost: ${preset.label}`)
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: this.t(message, "responses.bassboost.resetHint", { prefix }) });
|
||||
|
||||
if (current?.thumbnail) {
|
||||
embed.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+10
-4
@@ -5,7 +5,6 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
|
||||
/**
|
||||
* @type {CommandBuilder}
|
||||
@@ -52,10 +51,17 @@ export async function run(msg, data) {
|
||||
return msg.replyEmbed(res).catch(() => {});
|
||||
}
|
||||
|
||||
const count = p.queue.size();
|
||||
p.clear();
|
||||
const pluralStr = count === 1 ? this.t(msg, "responses.play.trackSingle") : this.t(msg, "responses.play.trackPlural");
|
||||
const prefix = this.handler.getPrefix(msg.message?.guildId ?? msg.channel?.guildId) || "%";
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(this.t(msg, "responses.clear.cleared"))
|
||||
;
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🗑️ ${this.t(msg, "responses.clear.clearedTitle")}` })
|
||||
.setTitle(this.t(msg, "responses.clear.cleared"))
|
||||
.setDescription(this.t(msg, "responses.clear.clearedSummary", { count, plural: pluralStr }))
|
||||
.setFooter({ text: `${prefix}play <song> to start a new queue` });
|
||||
|
||||
msg.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+14
-9
@@ -260,7 +260,7 @@ function buildPageEmbed(t, msg, page, activeKeys, current) {
|
||||
const lines = pageItems.map(f => {
|
||||
const isActive = activeSet.has(f.key);
|
||||
const active = isActive ? " " + t(msg, "responses.filter.activeLabel") : "";
|
||||
return `${f.emoji} **${f.label}**${active} — *${f.desc}*`;
|
||||
return `${f.emoji} **${f.label}**${active}\n *${f.desc}*`;
|
||||
});
|
||||
|
||||
const navHint = totalPages > 1
|
||||
@@ -273,21 +273,26 @@ function buildPageEmbed(t, msg, page, activeKeys, current) {
|
||||
const f = FILTERS.find(f => f.key === k);
|
||||
return f ? `${f.emoji} ${f.label}` : k;
|
||||
});
|
||||
activeSummary = `\n🔥 Active: ${activeLabels.join(" + ")}\n`;
|
||||
activeSummary = `\n🟢 **${t(msg, "responses.filter.activePrefix") || "Active:"}** ${activeLabels.join(" + ")}\n`;
|
||||
}
|
||||
|
||||
return new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: t(msg, "responses.filter.pickerTitle") })
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🎛️ ${t(msg, "responses.filter.pickerTitle")}` })
|
||||
.setDescription(
|
||||
`${trackLine}\n${activeSummary}\n` +
|
||||
lines.join("\n") +
|
||||
lines.join("\n\n") +
|
||||
navHint
|
||||
)
|
||||
.setFooter({
|
||||
text: t(msg, "responses.filter.footer", { page: page + 1, total: totalPages })
|
||||
})
|
||||
;
|
||||
text: `${t(msg, "responses.filter.footer", { page: page + 1, total: totalPages })} • ${t(msg, "responses.filter.realtimeDsp") || "Real-time DSP"}`
|
||||
});
|
||||
|
||||
if (current?.thumbnail) {
|
||||
embed.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
return embed;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+18
-6
@@ -4,7 +4,8 @@
|
||||
*/
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { cleanId } from "../src/ui/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { cleanId, getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { resolveChannelCached } from "../src/utils/Helpers247.mjs";
|
||||
|
||||
/**
|
||||
@@ -35,12 +36,23 @@ export const command = new CommandBuilder()
|
||||
export async function run(msg, data) {
|
||||
const cid = cleanId(data.get("channelId").value);
|
||||
const targetChannel = await resolveChannelCached(this.client, cid);
|
||||
if (!targetChannel) return msg.reply(this.t(msg, "responses.forceleave.channelNotFound"));
|
||||
if (cleanId(msg.message?.guildId) !== cleanId(targetChannel.guildId))
|
||||
return msg.reply(this.t(msg, "responses.forceleave.wrongServer"));
|
||||
if (!targetChannel) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.forceleave.channelNotFound"));
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
if (cleanId(msg.message?.guildId) !== cleanId(targetChannel.guildId)) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.forceleave.wrongServer"));
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
const p = this.players.playerMap.get(cid)
|
||||
?? [...this.players.playerMap.values()].find((player) => cleanId(player?._channelId) === cid);
|
||||
if (!p) return msg.reply(this.t(msg, "responses.forceleave.playerNotFound"));
|
||||
if (!p.connection) return msg.reply(this.t(msg, "responses.forceleave.playerNotInit"));
|
||||
if (!p) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.forceleave.playerNotFound"));
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
if (!p.connection) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.forceleave.playerNotInit"));
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
await this.players.leave(msg, cid);
|
||||
}
|
||||
+11
-4
@@ -25,8 +25,6 @@ export const command = new CommandBuilder()
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
export async function run(message) {
|
||||
const description = this.t(message, "responses.invite.description");
|
||||
|
||||
const botUser = this.client?.user;
|
||||
const botIcon = botUser?.displayAvatarURL?.() || null;
|
||||
|
||||
@@ -36,8 +34,17 @@ export async function run(message) {
|
||||
name: this.t(message, "responses.invite.title"),
|
||||
iconURL: botIcon
|
||||
})
|
||||
.setDescription(description)
|
||||
;
|
||||
.setTitle("Add Remix to Your Server")
|
||||
.setDescription(
|
||||
"High-fidelity 24/7 Music Bot supporting YouTube, Spotify, SoundCloud, Apple Music & Deezer.\n\n" +
|
||||
"💎 **48kHz Hi-Fi Audio** • 🎛️ **30+ Filters** • ⚡ **Dynamic Normalizer** • 📻 **Live Web Radio**\n\n" +
|
||||
"**Quick Links:**\n" +
|
||||
"• [➕ **Add Remix to Server**](https://fluxerlist.com/bots/remix)\n" +
|
||||
"• [💬 **Join Support Community**](https://fluxer.gg/remix)"
|
||||
)
|
||||
.setFooter({ text: "Remix • Free & Open-Source Music" });
|
||||
|
||||
if (botIcon) embed.setThumbnail(botIcon);
|
||||
|
||||
await message.reply({
|
||||
embeds: [embed]
|
||||
|
||||
@@ -190,17 +190,43 @@ export async function runAccountActions(msg, data, lastfm, prefix, userId, targe
|
||||
|
||||
lastfm.syncUserScrobbleCount(profileUserId).catch(() => {});
|
||||
|
||||
const avatarUrl = info.image?.[3]?.["#text"] || info.image?.[2]?.["#text"] || null;
|
||||
const regDate = info.registered?.unixtime ? new Date(+info.registered.unixtime * 1000).toLocaleDateString() : "unknown";
|
||||
const scrobbleStatus = user.scrobbleEnabled
|
||||
? this.t(msg, "responses.lastfm.profileScrobbleEnabled")
|
||||
: this.t(msg, "responses.lastfm.profileScrobbleDisabled");
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(msg, "responses.lastfm.profileTitle", { username: info.name }), iconURL: info.image?.[2]?.["#text"] || undefined, url: info.url })
|
||||
.setDescription([
|
||||
this.t(msg, "responses.lastfm.profileScrobbles", { playcount: Utils.formatNumber(info.playcount ?? 0) }),
|
||||
this.t(msg, "responses.lastfm.profileRegistered", { date: info.registered?.unixtime ? new Date(+info.registered.unixtime * 1000).toLocaleDateString() : "unknown" }),
|
||||
this.t(msg, "responses.lastfm.profileScrobbleStatus", { status: user.scrobbleEnabled ? this.t(msg, "responses.lastfm.profileScrobbleEnabled") : this.t(msg, "responses.lastfm.profileScrobbleDisabled") }),
|
||||
``,
|
||||
this.t(msg, "responses.lastfm.profileLink", { url: info.url }),
|
||||
].join("\n"))
|
||||
.setFooter({ text: this.t(msg, "responses.lastfm.profileScrobbleFooter", { prefix }) });
|
||||
.setAuthor({ name: this.t(msg, "responses.lastfm.profileAuthor"), iconURL: avatarUrl || undefined, url: info.url })
|
||||
.setTitle(info.name)
|
||||
.setURL(info.url || undefined)
|
||||
.setDescription(
|
||||
`📅 **${this.t(msg, "responses.lastfm.profileFieldRegistered")}:** ${regDate}\n` +
|
||||
`🔗 **[${this.t(msg, "responses.lastfm.profileLink", { url: info.url })}](${info.url})**`
|
||||
)
|
||||
.addFields(
|
||||
{
|
||||
name: this.t(msg, "responses.lastfm.profileFieldTotalScrobbles"),
|
||||
value: `🎵 **${Utils.formatNumber(info.playcount ?? 0)}**`,
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: this.t(msg, "responses.lastfm.profileFieldArtists"),
|
||||
value: `🎤 **${Utils.formatNumber(info.artist_count ?? 0)}**`,
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: this.t(msg, "responses.lastfm.profileFieldScrobbling"),
|
||||
value: scrobbleStatus,
|
||||
inline: true
|
||||
}
|
||||
)
|
||||
.setFooter({ text: this.t(msg, "responses.lastfm.profileFooterPro", { prefix }) });
|
||||
|
||||
if (avatarUrl) {
|
||||
embed.setThumbnail(avatarUrl);
|
||||
}
|
||||
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
+28
-24
@@ -102,44 +102,46 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setTitle(`🎤 ${info.name}`)
|
||||
.setAuthor({ name: this.t(msg, "responses.lastfm.artistSpotlightAuthor"), iconURL: info.image || undefined })
|
||||
.setTitle(info.name)
|
||||
.setURL(info.url || undefined)
|
||||
.setThumbnail(info.image || undefined);
|
||||
|
||||
let desc = "";
|
||||
if (info.tags?.length) {
|
||||
const tagStr = info.tags.slice(0, 6).map(t => {
|
||||
const tagLower = String(t).toLowerCase().replace(/\s+/g, "+");
|
||||
return `[\`${t}\`](https://www.last.fm/tag/${encodeURIComponent(tagLower)})`;
|
||||
}).join(" ");
|
||||
desc += tagStr + "\n\n";
|
||||
}
|
||||
if (info.bio) {
|
||||
const cleanBio = info.bio.replace(/<[^>]*>/g, "").trim();
|
||||
if (cleanBio.length > 0) {
|
||||
const truncated = cleanBio.length > 280 ? cleanBio.slice(0, 277) + "..." : cleanBio;
|
||||
desc += `> ${truncated}`;
|
||||
}
|
||||
}
|
||||
if (desc) embed.setDescription(desc.trim());
|
||||
|
||||
const fields = [];
|
||||
fields.push({ name: "Listeners", value: Utils.formatNumber(info.stats?.listeners ?? 0), inline: true });
|
||||
fields.push({ name: "Global Plays", value: Utils.formatNumber(info.stats?.playcount ?? 0), inline: true });
|
||||
fields.push({ name: this.t(msg, "responses.lastfm.artistFieldListeners"), value: `👥 **${Utils.formatNumber(info.stats?.listeners ?? 0)}**`, inline: true });
|
||||
fields.push({ name: this.t(msg, "responses.lastfm.artistFieldPlays"), value: `▶️ **${Utils.formatNumber(info.stats?.playcount ?? 0)}**`, inline: true });
|
||||
|
||||
if (info.userplaycount != null && user) {
|
||||
fields.push({ name: "Your Plays", value: Utils.formatNumber(info.userplaycount), inline: true });
|
||||
}
|
||||
|
||||
if (info.tags?.length) {
|
||||
const tagStr = info.tags.slice(0, 8).map(t => {
|
||||
const tagLower = String(t).toLowerCase().replace(/\s+/g, "+");
|
||||
return `[${t}](https://www.last.fm/tag/${encodeURIComponent(tagLower)})`;
|
||||
}).join(" · ");
|
||||
fields.push({ name: "Tags", value: tagStr, inline: false });
|
||||
fields.push({ name: this.t(msg, "responses.lastfm.artistFieldUserPlays"), value: `🎧 **${Utils.formatNumber(info.userplaycount)}**`, inline: true });
|
||||
}
|
||||
|
||||
if (info.similar?.length) {
|
||||
const simStr = info.similar.slice(0, 5).map(s => {
|
||||
return s.url ? `[${s.name}](${s.url})` : s.name;
|
||||
}).join(" · ");
|
||||
fields.push({ name: "Similar Artists", value: simStr, inline: false });
|
||||
fields.push({ name: this.t(msg, "responses.lastfm.artistFieldSimilar"), value: simStr, inline: false });
|
||||
}
|
||||
|
||||
embed.addFields(...fields);
|
||||
|
||||
if (info.bio) {
|
||||
const cleanBio = info.bio.replace(/<[^>]*>/g, "").trim();
|
||||
if (cleanBio.length > 0) {
|
||||
const truncated = cleanBio.length > 300 ? cleanBio.slice(0, 297) + "..." : cleanBio;
|
||||
embed.setDescription(truncated);
|
||||
}
|
||||
}
|
||||
|
||||
embed.setFooter({ text: user ? `Last.fm: ${user.username}` : "Last.fm" });
|
||||
embed.setFooter({ text: this.t(msg, "responses.lastfm.artistFooterPro", { artist: info.name }) });
|
||||
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
@@ -494,9 +496,11 @@ export async function runInfoActions(msg, data, lastfm, prefix, userId, targetUs
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setTitle(this.t(msg, "responses.lastfm.coverTitle", { album: albumTitle }))
|
||||
.setAuthor({ name: this.t(msg, "responses.lastfm.coverAuthor") })
|
||||
.setTitle(albumTitle)
|
||||
.setDescription(`🎵 **${trackName}** ${String.fromCharCode(8212)} **${artistName}**`)
|
||||
.setImage(coverUrl)
|
||||
.setFooter({ text: this.t(msg, "responses.lastfm.coverFooter", { track: trackName, artist: artistName }) });
|
||||
.setFooter({ text: this.t(msg, "responses.lastfm.coverFooterPro", { prefix }) });
|
||||
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
@@ -124,18 +124,30 @@ export async function runWhoknowsActions(msg, data, lastfm, prefix, userId, targ
|
||||
const MEDALS = ["🥇", "🥈", "🥉"];
|
||||
const totalPlays = listeners.reduce((sum, l) => sum + l.playcount, 0);
|
||||
|
||||
const lines = listeners.map((l, i) => {
|
||||
const medal = i < 3 ? MEDALS[i] : ` `;
|
||||
return `${medal} ${i + 1}. **${l.username}** — **${Utils.formatNumber(l.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`;
|
||||
});
|
||||
|
||||
const desc = lines.join("\n").slice(0, 4096);
|
||||
|
||||
const top1 = listeners[0];
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setTitle(this.t(msg, "responses.lastfm.whoknowsTitle", { artist: artistName }))
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: this.t(msg, "responses.lastfm.whoknowsFooter", { count: listeners.length, plural: listeners.length !== 1 ? "s" : "", totalPlays: Utils.formatNumber(totalPlays) }) });
|
||||
.setAuthor({ name: this.t(msg, "responses.lastfm.serverLeaderboardAuthor") })
|
||||
.setTitle(artistName)
|
||||
.setFooter({ text: `${listeners.length} listener${listeners.length !== 1 ? "s" : ""} • ${Utils.formatNumber(totalPlays)} total plays • %fm` });
|
||||
|
||||
if (top1) {
|
||||
embed.addFields({
|
||||
name: this.t(msg, "responses.lastfm.crownHolder"),
|
||||
value: `**${top1.username}** — **${Utils.formatNumber(top1.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`,
|
||||
inline: false
|
||||
});
|
||||
}
|
||||
|
||||
const rest = listeners.slice(1);
|
||||
if (rest.length > 0) {
|
||||
const lines = rest.map((l, i) => {
|
||||
const rank = i + 2;
|
||||
const medal = rank === 2 ? "🥈" : rank === 3 ? "🥉" : `\`#${rank}\``;
|
||||
return `${medal} **${l.username}** — **${Utils.formatNumber(l.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`;
|
||||
});
|
||||
embed.setDescription(lines.join("\n").slice(0, 4096));
|
||||
}
|
||||
|
||||
const replyPayload = { embeds: [embed] };
|
||||
if (statusMsg) statusMsg.edit(replyPayload).catch(() => msg.reply(replyPayload));
|
||||
@@ -417,22 +429,33 @@ export async function runWhoknowsActions(msg, data, lastfm, prefix, userId, targ
|
||||
return;
|
||||
}
|
||||
|
||||
const MEDALS = ["🥇", "🥈", "🥉"];
|
||||
const totalPlays = listeners.reduce((sum, l) => sum + l.playcount, 0);
|
||||
|
||||
const lines = listeners.map((l, i) => {
|
||||
const medal = i < 3 ? MEDALS[i] : ` `;
|
||||
return `${medal} ${i + 1}. **${l.username}** — **${Utils.formatNumber(l.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`;
|
||||
});
|
||||
|
||||
const desc = lines.join("\n").slice(0, 4096);
|
||||
const top1 = listeners[0];
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setTitle(this.t(msg, "responses.lastfm.whoknowsTrackTitle", { track: trackName }))
|
||||
.setDescription(desc)
|
||||
.setAuthor({ name: this.t(msg, "responses.lastfm.trackLeaderboardAuthor") })
|
||||
.setTitle(trackName + (artistName ? ` by ${artistName}` : ""))
|
||||
.setFooter({ text: this.t(msg, "responses.lastfm.whoknowsTrackFooter", { count: listeners.length, plural: listeners.length !== 1 ? "s" : "", totalPlays: Utils.formatNumber(totalPlays), artist: artistName }) });
|
||||
|
||||
if (top1) {
|
||||
embed.addFields({
|
||||
name: this.t(msg, "responses.lastfm.crownHolder"),
|
||||
value: `**${top1.username}** — **${Utils.formatNumber(top1.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`,
|
||||
inline: false
|
||||
});
|
||||
}
|
||||
|
||||
const rest = listeners.slice(1);
|
||||
if (rest.length > 0) {
|
||||
const lines = rest.map((l, i) => {
|
||||
const rank = i + 2;
|
||||
const medal = rank === 2 ? "🥈" : rank === 3 ? "🥉" : `\`#${rank}\``;
|
||||
return `${medal} **${l.username}** — **${Utils.formatNumber(l.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`;
|
||||
});
|
||||
embed.setDescription(lines.join("\n").slice(0, 4096));
|
||||
}
|
||||
|
||||
const replyPayload = { embeds: [embed] };
|
||||
if (statusMsg) statusMsg.edit(replyPayload).catch(() => msg.reply(replyPayload));
|
||||
else msg.reply(replyPayload);
|
||||
@@ -498,22 +521,33 @@ export async function runWhoknowsActions(msg, data, lastfm, prefix, userId, targ
|
||||
return;
|
||||
}
|
||||
|
||||
const MEDALS = ["🥇", "🥈", "🥉"];
|
||||
const totalPlays = listeners.reduce((sum, l) => sum + l.playcount, 0);
|
||||
|
||||
const lines = listeners.map((l, i) => {
|
||||
const medal = i < 3 ? MEDALS[i] : ` `;
|
||||
return `${medal} ${i + 1}. **${l.username}** — **${Utils.formatNumber(l.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`;
|
||||
});
|
||||
|
||||
const desc = lines.join("\n").slice(0, 4096);
|
||||
const top1 = listeners[0];
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setTitle(this.t(msg, "responses.lastfm.whoknowsAlbumTitle", { album: albumName }))
|
||||
.setDescription(desc)
|
||||
.setAuthor({ name: this.t(msg, "responses.lastfm.albumLeaderboardAuthor") })
|
||||
.setTitle(albumName + (artistName ? ` by ${artistName}` : ""))
|
||||
.setFooter({ text: this.t(msg, "responses.lastfm.whoknowsFooter", { count: listeners.length, plural: listeners.length !== 1 ? "s" : "", totalPlays: Utils.formatNumber(totalPlays) }) });
|
||||
|
||||
if (top1) {
|
||||
embed.addFields({
|
||||
name: this.t(msg, "responses.lastfm.crownHolder"),
|
||||
value: `**${top1.username}** — **${Utils.formatNumber(top1.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`,
|
||||
inline: false
|
||||
});
|
||||
}
|
||||
|
||||
const rest = listeners.slice(1);
|
||||
if (rest.length > 0) {
|
||||
const lines = rest.map((l, i) => {
|
||||
const rank = i + 2;
|
||||
const medal = rank === 2 ? "🥈" : rank === 3 ? "🥉" : `\`#${rank}\``;
|
||||
return `${medal} **${l.username}** — **${Utils.formatNumber(l.playcount)}** ${this.t(msg, "responses.lastfm.plays")}`;
|
||||
});
|
||||
embed.setDescription(lines.join("\n").slice(0, 4096));
|
||||
}
|
||||
|
||||
const replyPayload = { embeds: [embed] };
|
||||
if (statusMsg) statusMsg.edit(replyPayload).catch(() => msg.reply(replyPayload));
|
||||
else msg.reply(replyPayload);
|
||||
|
||||
+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(() => {});
|
||||
}
|
||||
+34
-14
@@ -39,9 +39,12 @@ export async function run(message, data) {
|
||||
|
||||
const current = p.queue.getCurrent();
|
||||
const totalTracks = p.queue.size();
|
||||
const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%";
|
||||
|
||||
if (!current && totalTracks === 0) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.list.empty", { prefix: this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) }));
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setDescription(this.t(message, "responses.list.empty", { prefix }));
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
@@ -54,23 +57,31 @@ export async function run(message, data) {
|
||||
|
||||
const buildEmbed = (page) => {
|
||||
const safePage = (isNaN(page) || page < 1) ? 1 : Math.min(Math.floor(page), totalPages);
|
||||
const loopState = p.queue.songLoop ? "🔂 Song" : p.queue.loop ? "🔁 Queue" : "🛑 Off";
|
||||
const loopState = p.queue.songLoop
|
||||
? `🔂 ${this.t(message, "responses.play.loopSongLabel")}`
|
||||
: p.queue.loop
|
||||
? `🔄 ${this.t(message, "responses.play.loopQueueLabel")}`
|
||||
: this.t(message, "responses.play.loopOffLabel");
|
||||
|
||||
let desc = "";
|
||||
|
||||
const remaining = p.getQueueRemainingTime();
|
||||
desc += `📋 **${totalTracks} track${totalTracks !== 1 ? "s" : ""} in queue** • ⏱️ \`${remaining}\`\n`;
|
||||
const pluralStr = totalTracks === 1 ? this.t(message, "responses.play.trackSingle") : this.t(message, "responses.play.trackPlural");
|
||||
const headerStr = this.t(message, "responses.list.tracksCount", { count: totalTracks, plural: pluralStr });
|
||||
desc += `📋 **${headerStr}** • ⏱️ ` + "`" + remaining + "`" + "\n";
|
||||
|
||||
if (current) {
|
||||
const elapsed = p.getCurrentElapsedDuration();
|
||||
const total = p.getCurrentDuration();
|
||||
const link = current.spotifyUrl || current.url || "";
|
||||
let title = current.title ?? "Unknown";
|
||||
let title = current.title ?? this.t(message, "responses.play.unknownTrack");
|
||||
if (title.length > 50) title = title.slice(0, 47) + "...";
|
||||
const titleFmt = link ? `[${title}](${link})` : title;
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const authorStr = rawAuthor ? ` • ${rawAuthor}` : "";
|
||||
|
||||
desc += "\n" + this.t(message, "responses.list.nowPlaying") + "\n";
|
||||
desc += `${titleFmt} • \`${elapsed} / ${total}\`\n`;
|
||||
desc += `\n▶️ **${this.t(message, "responses.list.nowPlayingHeader")}:**\n`;
|
||||
desc += `${titleFmt}${authorStr} • ` + "`" + elapsed + " / " + total + "`" + "\n";
|
||||
}
|
||||
|
||||
desc += `\n`;
|
||||
@@ -78,26 +89,35 @@ export async function run(message, data) {
|
||||
if (totalTracks === 0) {
|
||||
desc += this.t(message, "responses.list.emptyInline");
|
||||
} else {
|
||||
desc += `**${this.t(message, "responses.list.upNextHeader")}:**\n`;
|
||||
const { items, start } = p.queue.getPage(safePage, PAGE_SIZE);
|
||||
|
||||
items.forEach((vid, i) => {
|
||||
const index = String(start + i + 1).padStart(2, " ");
|
||||
const index = start + i + 1;
|
||||
const dur = vid.duration ? p.getDuration(vid.duration) : "?:??";
|
||||
const link = vid.spotifyUrl || vid.url || "";
|
||||
let title = vid.title ?? "Unknown";
|
||||
let title = vid.title ?? this.t(message, "responses.play.unknownTrack");
|
||||
if (title.length > 45) title = title.slice(0, 42) + "...";
|
||||
title = link ? `[${title}](${link})` : title;
|
||||
const upNext = (start + i === 0) ? " ▶" : "";
|
||||
desc += `\`${index}.\` ${title}${upNext} • \`${dur}\`\n`;
|
||||
const rawAuthor = vid.artist || (typeof vid.author === "object" ? vid.author?.name : vid.author);
|
||||
const authorStr = rawAuthor ? ` • ${rawAuthor}` : "";
|
||||
desc += "`#" + index + "` " + `**${title}**${authorStr} • ` + "`" + dur + "`" + "\n";
|
||||
});
|
||||
}
|
||||
|
||||
return new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
const footerText = `${this.t(message, "responses.list.pageFooter", { page: safePage, totalPages, loopState })} • ${this.t(message, "responses.play.controlsHint", { prefix })}`;
|
||||
|
||||
const builder = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: this.t(message, "responses.list.queueTitle") })
|
||||
.setDescription(desc.trim())
|
||||
.setFooter({ text: `Page ${safePage}/${totalPages} • ${loopState}` })
|
||||
;
|
||||
.setFooter({ text: footerText });
|
||||
|
||||
if (current?.thumbnail) {
|
||||
builder.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
return builder;
|
||||
};
|
||||
|
||||
new QueuePaginator(message, this.messages, this.client)
|
||||
|
||||
+40
-5
@@ -5,7 +5,7 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the loop command. */
|
||||
export const command = new CommandBuilder()
|
||||
@@ -29,10 +29,45 @@ export const command = new CommandBuilder()
|
||||
export async function run(message, data) {
|
||||
const p = await this.getPlayer(message);
|
||||
if (!p) return;
|
||||
const res = p.loop(data.get("type").value);
|
||||
|
||||
const type = data.get("type").value;
|
||||
const current = p.queue.getCurrent();
|
||||
const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%";
|
||||
|
||||
const state = p.queue.toggleLoop(type);
|
||||
|
||||
let badge = this.t(message, "responses.loop.loopOffBadge");
|
||||
let desc = this.t(message, "responses.loop.loopOffDesc");
|
||||
let icon = "⏹️";
|
||||
|
||||
if (state) {
|
||||
if (type === "song") {
|
||||
badge = this.t(message, "responses.loop.songLoopBadge");
|
||||
desc = this.t(message, "responses.loop.songLoopDesc");
|
||||
icon = "🔂";
|
||||
} else {
|
||||
badge = this.t(message, "responses.loop.queueLoopBadge");
|
||||
desc = this.t(message, "responses.loop.queueLoopDesc");
|
||||
icon = "🔄";
|
||||
}
|
||||
}
|
||||
|
||||
if (current?.title) {
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const authorStr = rawAuthor ? ` • ${rawAuthor}` : "";
|
||||
desc += `\n**${Utils.truncate(current.title, 45)}**${authorStr}`;
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(res)
|
||||
;
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `${icon} ${this.t(message, "responses.loop.loopTitle")}` })
|
||||
.setTitle(badge)
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: `Cycle: ${prefix}loop song • ${prefix}loop queue` });
|
||||
|
||||
if (current?.thumbnail) {
|
||||
embed.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+16
-14
@@ -143,7 +143,7 @@ export async function run(message, data) {
|
||||
} else {
|
||||
current = p?.queue?.getCurrent() ?? null;
|
||||
if (!current) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.lyrics.nothingPlaying"));
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses.lyrics.nothingPlaying"));
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
searchTitle = current.title;
|
||||
@@ -152,14 +152,14 @@ export async function run(message, data) {
|
||||
|
||||
let frame = 0;
|
||||
const loadingMsg = await message.reply({ embeds: [
|
||||
new EmbedBuilder().setColor(getGlobalColor())
|
||||
new EmbedBuilder().setColor(0xe9196c)
|
||||
.setDescription(`${LOADING_FRAMES[0]} ` + this.t(message, "responses.lyrics.searching", { title: Utils.truncate(searchTitle, 40) }))
|
||||
] });
|
||||
|
||||
const loadingInterval = setInterval(() => {
|
||||
frame = (frame + 1) % LOADING_FRAMES.length;
|
||||
loadingMsg.edit({ embeds: [
|
||||
new EmbedBuilder().setColor(getGlobalColor())
|
||||
new EmbedBuilder().setColor(0xe9196c)
|
||||
.setDescription(`${LOADING_FRAMES[frame]} ` + this.t(message, "responses.lyrics.searching", { title: Utils.truncate(searchTitle, 40) }))
|
||||
] }).catch(() => {});
|
||||
}, 800);
|
||||
@@ -176,7 +176,7 @@ export async function run(message, data) {
|
||||
|
||||
if (!result || !result.text) {
|
||||
return loadingMsg.edit({ embeds: [
|
||||
new EmbedBuilder().setColor(getGlobalColor())
|
||||
new EmbedBuilder().setColor(0xe9196c)
|
||||
.setDescription(
|
||||
this.t(message, "responses.lyrics.noLyrics", { title: Utils.truncate(searchTitle, 40) })
|
||||
)
|
||||
@@ -229,16 +229,17 @@ export async function run(message, data) {
|
||||
}
|
||||
|
||||
if (totalPages === 1) {
|
||||
const headerLine = `by *${artist}*${syncIndicator}`;
|
||||
const headerLine = `by **${artist}**${syncIndicator ? " • " + syncIndicator : ""}`;
|
||||
const descBody = pages[0];
|
||||
const singleDesc = [headerLine, "", "```", descBody, "```"].join("\n");
|
||||
|
||||
const singleEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setTitle(`🎵 ${Utils.truncate(displayTitle, 50)}`)
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: "🎤 Lyrics" })
|
||||
.setTitle(Utils.truncate(displayTitle, 50))
|
||||
.setDescription(singleDesc.slice(0, MAX_DESC))
|
||||
.setFooter({ text: this.t(message, "responses.lyrics.sourceFooter", { source: result.source, lines: totalLines }) });
|
||||
if (current.thumbnail) singleEmbed.setThumbnail(current.thumbnail);
|
||||
if (current?.thumbnail) singleEmbed.setThumbnail(current.thumbnail);
|
||||
return message.reply({ embeds: [singleEmbed] });
|
||||
}
|
||||
|
||||
@@ -253,18 +254,19 @@ export async function run(message, data) {
|
||||
* @returns {object} Embed payload for message reply/edit.
|
||||
*/
|
||||
const buildContent = (pageIdx, expired = false) => {
|
||||
const headerLine = `by *${artist}*${syncIndicator} • Page ${pageIdx + 1}/${totalPages}`;
|
||||
const headerLine = `by **${artist}**${syncIndicator ? " • " + syncIndicator : ""} • Page ${pageIdx + 1}/${totalPages}`;
|
||||
const descBody = pages[pageIdx];
|
||||
const desc = [headerLine, "", "```", descBody, "```"].join("\n");
|
||||
|
||||
const b = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setTitle(`🎵 ${Utils.truncate(displayTitle, 50)}`)
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: "🎤 Lyrics" })
|
||||
.setTitle(Utils.truncate(displayTitle, 50))
|
||||
.setDescription(desc.slice(0, MAX_DESC))
|
||||
.setFooter({ text: expired
|
||||
? this.t(message, "responses.lyrics.controlsExpired", { lines: totalLines })
|
||||
: this.t(message, "responses.lyrics.sourceFooter", { source: result.source, lines: totalLines }) });
|
||||
if (current.thumbnail) b.setThumbnail(current.thumbnail);
|
||||
if (current?.thumbnail) b.setThumbnail(current.thumbnail);
|
||||
return { embeds: [b] };
|
||||
};
|
||||
|
||||
@@ -322,7 +324,7 @@ export async function run(message, data) {
|
||||
const closedHeader = `by *${artist}*${syncIndicator} • Page ${currentPage + 1}/${totalPages}`;
|
||||
const closedDesc = [closedHeader, "", "```", pages[currentPage], "```"].join("\n");
|
||||
const closedEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setColor(0xe9196c)
|
||||
.setTitle(`🎵 ${Utils.truncate(displayTitle, 50)}`)
|
||||
.setDescription(closedDesc.slice(0, MAX_DESC))
|
||||
.setFooter({ text: this.t(message, "responses.lyrics.sessionClosed", { lines: totalLines }) });
|
||||
@@ -332,6 +334,6 @@ export async function run(message, data) {
|
||||
} catch (err) {
|
||||
clearInterval(loadingInterval);
|
||||
logger.error("[Lyrics Command] Error:", err);
|
||||
loadingMsg.edit({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses.lyrics.error", { error: Utils.truncate(err.message, 100) }))] }).catch(() => {});
|
||||
loadingMsg.edit({ embeds: [new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses.lyrics.error", { error: Utils.truncate(err.message, 100) }))] }).catch(() => {});
|
||||
}
|
||||
}
|
||||
+19
-1
@@ -4,6 +4,8 @@
|
||||
*/
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the move command. */
|
||||
export const command = new CommandBuilder()
|
||||
@@ -35,8 +37,24 @@ export async function run(message, data) {
|
||||
if (!p) return;
|
||||
const from = data.get("from")?.value;
|
||||
const to = data.get("to")?.value;
|
||||
const prefix = this.handler?.getPrefix?.(message.message?.guildId ?? message.channel?.guildId) ?? "%";
|
||||
if (from === null || from === undefined || from < 1) return message.replyEmbed("Source position must be 1 or greater.").catch(() => {});
|
||||
if (to === null || to === undefined || to < 1) return message.replyEmbed("Target position must be 1 or greater.").catch(() => {});
|
||||
|
||||
const queueData = p.queue?.data ?? [];
|
||||
const track = queueData[from - 1];
|
||||
const res = p.move(from, to);
|
||||
message.replyEmbed(res).catch(() => {});
|
||||
if (typeof res === "string" && !res.startsWith("Moved")) {
|
||||
return message.replyEmbed(res).catch(() => {});
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(message, "responses.move.reorderedAuthor") })
|
||||
.setTitle(track?.title?.slice(0, 256) || "Reordered Track")
|
||||
.setDescription(this.t(message, "responses.move.reorderedDesc", { from, to }))
|
||||
.setFooter({ text: to === 1 ? this.t(message, "responses.move.nowPlayingNext", { prefix }) : this.t(message, "responses.move.viewUpdatedQueue", { prefix }) });
|
||||
|
||||
if (track?.thumbnail) embed.setThumbnail(track.thumbnail);
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+14
-9
@@ -65,13 +65,18 @@ export async function run(message, data) {
|
||||
}
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor());
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(message, "responses.normalize.headerAuthor") })
|
||||
.setTitle(this.t(message, "responses.normalize.headerTitle"))
|
||||
.setFooter({ text: this.t(message, "responses.normalize.footer") });
|
||||
|
||||
const statusMsg = newState
|
||||
? this.t(message, "responses.normalize.statusEnabled")
|
||||
: this.t(message, "responses.normalize.statusDisabled");
|
||||
const infoMsg = this.t(message, "responses.normalize.info");
|
||||
|
||||
let desc = `${statusMsg}\n\n*${infoMsg}*`;
|
||||
embed.setDescription(`${statusMsg}\n\n*${infoMsg}*`);
|
||||
|
||||
if (p) {
|
||||
const current = p.queue?.getCurrent?.();
|
||||
@@ -80,14 +85,14 @@ export async function run(message, data) {
|
||||
const gain = calculateNormalizationGain(current);
|
||||
const gainDb = (20 * Math.log10(gain)).toFixed(1);
|
||||
const gainSign = gain >= 1 ? "+" : "";
|
||||
desc += "\n\n" + this.t(message, "responses.normalize.trackInfo", {
|
||||
source,
|
||||
gainDb: `${gainSign}${gainDb}`,
|
||||
gainPct: (gain * 100).toFixed(0),
|
||||
effective: Math.round(p.getEffectiveVolume()),
|
||||
});
|
||||
|
||||
embed.addFields(
|
||||
{ name: this.t(message, "responses.normalize.fieldSource"), value: source || "Default", inline: true },
|
||||
{ name: this.t(message, "responses.normalize.fieldGainOffset"), value: `${gainSign}${gainDb} dB (${(gain * 100).toFixed(0)}%)`, inline: true },
|
||||
{ name: this.t(message, "responses.normalize.fieldEffectiveVolume"), value: `${Math.round(p.getEffectiveVolume())}%`, inline: true }
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
message.reply({ embeds: [embed.setDescription(desc)] }).catch(() => {});
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+3
-3
@@ -33,14 +33,14 @@ export async function run(msg) {
|
||||
|
||||
try {
|
||||
const data = await p.nowPlaying();
|
||||
if (!data?.msg) {
|
||||
if (!data?.msg && !data?.embed) {
|
||||
loadingMsg.edit({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses._common.nothingPlaying"))] }).catch(() => {});
|
||||
return;
|
||||
}
|
||||
const embed = new EmbedBuilder()
|
||||
const embed = data.embed || new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(data.msg);
|
||||
if (data.image) embed.setThumbnail(data.image);
|
||||
if (!data.embed && data.image) embed.setThumbnail(data.image);
|
||||
|
||||
loadingMsg.edit({ embeds: [embed] }).catch(() => {});
|
||||
} catch (e) {
|
||||
|
||||
+37
-5
@@ -5,7 +5,7 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the pause command. */
|
||||
export const command = new CommandBuilder()
|
||||
@@ -23,10 +23,42 @@ export const command = new CommandBuilder()
|
||||
export async function run(message) {
|
||||
const p = await this.getPlayer(message);
|
||||
if (!p) return;
|
||||
const res = p.pause();
|
||||
|
||||
const current = p.queue.getCurrent();
|
||||
if (!p.connection || !current) {
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses._common.nothingPlaying"));
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
if (p._paused) {
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses.pause.alreadyPaused") || "Already paused!");
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
p.pause();
|
||||
const elapsed = p.getCurrentElapsedDuration();
|
||||
const trackUrl = current.spotifyUrl || current.url || null;
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%";
|
||||
|
||||
let desc = trackUrl
|
||||
? `**[${Utils.truncate(current.title || this.t(message, "responses.play.unknownTrack"), 50)}](${trackUrl})**`
|
||||
: `**${Utils.truncate(current.title || this.t(message, "responses.play.unknownTrack"), 50)}**`;
|
||||
|
||||
if (rawAuthor) {
|
||||
desc += `\n${this.t(message, "responses.play.byAuthor", { author: rawAuthor })}`;
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(res)
|
||||
;
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `⏸️ ${this.t(message, "responses.pause.pausedTitle")}` })
|
||||
.setTitle(this.t(message, "responses.pause.pausedAt", { time: elapsed }))
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: this.t(message, "responses.pause.resumeHint", { prefix }) });
|
||||
|
||||
if (current.thumbnail) {
|
||||
embed.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+17
-13
@@ -5,7 +5,6 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
|
||||
/**
|
||||
* @type {CommandBuilder}
|
||||
@@ -68,7 +67,7 @@ export async function run(message) {
|
||||
const t = (...a) => this.t(message, ...a);
|
||||
|
||||
const waitingEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setColor(0xe9196c)
|
||||
.setDescription(t("responses.ping.measuring"));
|
||||
|
||||
const t0 = Date.now();
|
||||
@@ -76,29 +75,34 @@ export async function run(message) {
|
||||
try {
|
||||
sent = await message.reply({ embeds: [waitingEmbed] });
|
||||
} catch (e) {
|
||||
return; // couldn't even send the placeholder — nothing to edit
|
||||
return;
|
||||
}
|
||||
const roundtrip = Date.now() - t0;
|
||||
|
||||
const lines = [
|
||||
`${t("responses.ping.roundtrip")} — \`${roundtrip}ms\``,
|
||||
];
|
||||
|
||||
const gateway = readGatewayPing(this.client);
|
||||
if (gateway >= 0) lines.push(`${t("responses.ping.gateway")} — \`${gateway}ms\``);
|
||||
|
||||
const node = readNodePing(this.lavalink);
|
||||
|
||||
const restLabel = t("responses.ping.restApi") || "REST API";
|
||||
const gatewayLabel = t("responses.ping.gatewayWs") || "Gateway WebSocket";
|
||||
const nodeLabel = t("responses.ping.audioNode") || "Audio Node";
|
||||
|
||||
const lines = [
|
||||
`⚡ **${restLabel}** — \`${roundtrip}ms\``,
|
||||
];
|
||||
if (gateway >= 0) lines.push(`🌐 **${gatewayLabel}** — \`${gateway}ms\``);
|
||||
if (node) {
|
||||
lines.push(`${t("responses.ping.node")} — \`${node.ping !== null ? node.ping + "ms" : "connected"}\``);
|
||||
lines.push(`🎵 **${nodeLabel}** — \`${node.ping !== null ? node.ping + "ms" : "connected"}\``);
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({
|
||||
name: t("responses.ping.title"),
|
||||
name: `🏓 ${t("responses.ping.pingDashboard") || t("responses.ping.title")}`,
|
||||
iconURL: this.client?.user?.displayAvatarURL?.() || null,
|
||||
})
|
||||
.setDescription(lines.join("\n"));
|
||||
.setTitle(`🟢 ${t("responses.ping.operational") || "Operational"}`)
|
||||
.setDescription(lines.join("\n\n"))
|
||||
.setFooter({ text: `Shard #${this.client?.shardId ?? 0} • NodeLink DSP` });
|
||||
|
||||
sent.edit({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+30
-11
@@ -5,7 +5,6 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
/**
|
||||
@@ -14,14 +13,14 @@ import { Utils } from "../src/utils/Utils.mjs";
|
||||
*/
|
||||
export const command = new CommandBuilder()
|
||||
.setName("pitch")
|
||||
.setDescription("Adjust the audio pitch of the current track (0.5× to 2.0×).", "commands.pitch")
|
||||
.setDescription("Adjust the pitch of the current track (0.5× to 2.0×).", "commands.pitch")
|
||||
.setCategory("music")
|
||||
.addNumberOption(o =>
|
||||
o.setName("pitch")
|
||||
.setDescription("Audio pitch multiplier between 0.5 and 2.0 (e.g. 1.25). Omit to reset to 1.0×.", "options.pitch.pitch")
|
||||
o.setName("multiplier")
|
||||
.setDescription("Pitch multiplier between 0.5 and 2.0 (e.g. 1.25). Omit to reset to 1.0×.", "options.pitch.multiplier")
|
||||
.setRequired(false)
|
||||
)
|
||||
.addAliases("semitone", "tune");
|
||||
.addAliases("key");
|
||||
|
||||
/**
|
||||
* Run handler for the pitch command.
|
||||
@@ -34,8 +33,10 @@ export async function run(message, data) {
|
||||
const p = await this.getPlayer(message, false, false, false);
|
||||
if (!p) return;
|
||||
|
||||
const rawPitch = data.get("pitch")?.value;
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor());
|
||||
const current = p.queue?.getCurrent();
|
||||
const rawPitch = data.get("multiplier")?.value;
|
||||
const prefix = this.handler?.getPrefix?.(message.message?.guildId ?? message.guild?.id) ?? "%";
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c);
|
||||
|
||||
if (rawPitch === null || rawPitch === undefined || isNaN(Number(rawPitch))) {
|
||||
const currentTimescale = p.activeFilterPayload?.timescale;
|
||||
@@ -44,10 +45,15 @@ export async function run(message, data) {
|
||||
const existingPayload = { ...(p.activeFilterPayload || {}) };
|
||||
delete existingPayload.timescale;
|
||||
await p.applyFilter(existingPayload, Object.keys(existingPayload).length > 0 ? p.activeFilter : null);
|
||||
embed.setDescription(this.t(message, "responses.pitch.reset"));
|
||||
embed.setAuthor({ name: `🎵 ${this.t(message, "responses.pitch.pitchTitle")}` })
|
||||
.setTitle("1.0× Normal")
|
||||
.setDescription(this.t(message, "responses.pitch.reset"))
|
||||
.setFooter({ text: this.t(message, "responses.pitch.resetHint", { prefix }) });
|
||||
} else {
|
||||
const prefix = this.handler?.getPrefix?.(message.message?.guildId ?? message.guild?.id) ?? "%";
|
||||
embed.setDescription(this.t(message, "responses.pitch.current", { pitch: "1.0", prefix }));
|
||||
embed.setAuthor({ name: `🎵 ${this.t(message, "responses.pitch.pitchTitle")}` })
|
||||
.setTitle("1.0× Normal")
|
||||
.setDescription(this.t(message, "responses.pitch.current", { pitch: "1.0", prefix }))
|
||||
.setFooter({ text: this.t(message, "responses.pitch.resetHint", { prefix }) });
|
||||
}
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
@@ -79,6 +85,19 @@ export async function run(message, data) {
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
embed.setDescription(this.t(message, "responses.pitch.set", { pitch }));
|
||||
let desc = this.t(message, "responses.pitch.set", { pitch });
|
||||
if (current?.title) {
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const authorStr = rawAuthor ? ` • ${rawAuthor}` : "";
|
||||
desc += `\n**${Utils.truncate(current.title, 45)}**${authorStr}`;
|
||||
}
|
||||
|
||||
embed.setAuthor({ name: `🎵 ${this.t(message, "responses.pitch.pitchTitle")}` })
|
||||
.setTitle(this.t(message, "responses.pitch.pitchMultiplier", { pitch }))
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: this.t(message, "responses.pitch.resetHint", { prefix }) });
|
||||
|
||||
if (current?.thumbnail) embed.setThumbnail(current.thumbnail);
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+30
-33
@@ -196,6 +196,30 @@ export const command = new CommandBuilder()
|
||||
, true)
|
||||
.addAlias("p");
|
||||
|
||||
/**
|
||||
* Forward a play status message or rich embed to the status message.
|
||||
* @param {string|object|EmbedBuilder} d
|
||||
* @param {object|null} statusMsg
|
||||
* @param {object} message
|
||||
*/
|
||||
function forwardPlayMessage(d, statusMsg, message) {
|
||||
let embed;
|
||||
if (d instanceof EmbedBuilder) {
|
||||
embed = d;
|
||||
} else if (d?.embeds?.[0]) {
|
||||
embed = d.embeds[0];
|
||||
} else if (typeof d === "object" && d?.embed) {
|
||||
embed = d.embed;
|
||||
} else {
|
||||
embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(String(d?.msg || d));
|
||||
}
|
||||
if (statusMsg) {
|
||||
statusMsg.edit({ embeds: [embed] }).catch(() => {});
|
||||
} else {
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Run handler for the play command.
|
||||
* Handles URL detection, Last.fm integration, provider selection, and track searching.
|
||||
@@ -221,11 +245,7 @@ export async function run(message, data) {
|
||||
try { statusMsg = await message.reply({ embeds: [statusEmbed] }); } catch(e) { logger.warn("[Play] Error:", e?.message); }
|
||||
|
||||
const messages = p.playExternal(rawQuery);
|
||||
messages.on("message", d => {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(d);
|
||||
if (statusMsg) { statusMsg.edit({ embeds: [embed] }).catch(() => {}); }
|
||||
else { message.reply({ embeds: [embed] }).catch(() => {}); }
|
||||
});
|
||||
messages.on("message", d => forwardPlayMessage(d, statusMsg, message));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -240,11 +260,7 @@ export async function run(message, data) {
|
||||
try { statusMsg = await message.reply({ embeds: [statusEmbed] }); } catch(e) { logger.warn("[Play] Error:", e?.message); }
|
||||
|
||||
const messages = p.playExternal(rawQuery, null, null, false, "stream");
|
||||
messages.on("message", d => {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(d);
|
||||
if (statusMsg) { statusMsg.edit({ embeds: [embed] }).catch(() => {}); }
|
||||
else { message.reply({ embeds: [embed] }).catch(() => {}); }
|
||||
});
|
||||
messages.on("message", d => forwardPlayMessage(d, statusMsg, message));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -273,11 +289,7 @@ export async function run(message, data) {
|
||||
|
||||
const playQuery = `${parsed.track} ${parsed.artist}`.trim();
|
||||
const messages = p.play(playQuery, false, provider === "lastfm" || provider === "lf" ? "yt" : provider, lastfmTrackMeta);
|
||||
messages.on("message", d => {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(d);
|
||||
if (statusMsg) { statusMsg.edit({ embeds: [embed] }).catch(() => {}); }
|
||||
else { message.reply({ embeds: [embed] }).catch(() => {}); }
|
||||
});
|
||||
messages.on("message", d => forwardPlayMessage(d, statusMsg, message));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -294,11 +306,7 @@ export async function run(message, data) {
|
||||
|
||||
const playQuery = parsed.artist;
|
||||
const messages = p.play(playQuery, false, provider === "lastfm" || provider === "lf" ? "yt" : provider, { requester });
|
||||
messages.on("message", d => {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(d);
|
||||
if (statusMsg) { statusMsg.edit({ embeds: [embed] }).catch(() => {}); }
|
||||
else { message.reply({ embeds: [embed] }).catch(() => {}); }
|
||||
});
|
||||
messages.on("message", d => forwardPlayMessage(d, statusMsg, message));
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -395,11 +403,7 @@ export async function run(message, data) {
|
||||
|
||||
const playQuery = `${searchResult.name} ${searchResult.artist}`.trim();
|
||||
const messages = p.play(playQuery, false, playProvider, lastfmTrackMeta);
|
||||
messages.on("message", d => {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(d);
|
||||
if (statusMsg) { statusMsg.edit({ embeds: [embed] }).catch(() => {}); }
|
||||
else { message.reply({ embeds: [embed] }).catch(() => {}); }
|
||||
});
|
||||
messages.on("message", d => forwardPlayMessage(d, statusMsg, message));
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -438,12 +442,5 @@ export async function run(message, data) {
|
||||
: query;
|
||||
|
||||
const messages = p.play(playQuery, false, resolvedProvider, lastfmTrackMeta);
|
||||
messages.on("message", d => {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(d);
|
||||
if (statusMsg) {
|
||||
statusMsg.edit({ embeds: [embed] }).catch(() => {});
|
||||
} else {
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
});
|
||||
messages.on("message", d => forwardPlayMessage(d, statusMsg, message));
|
||||
}
|
||||
@@ -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({
|
||||
|
||||
+15
-1
@@ -70,7 +70,21 @@ export async function run(message, data) {
|
||||
const requester = message.author?.id ?? message.authorId ?? null;
|
||||
const messages = p.playFirst(query, provider, { requester });
|
||||
messages.on("message", d => {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(d);
|
||||
let embed;
|
||||
if (d instanceof EmbedBuilder) {
|
||||
embed = d;
|
||||
} else if (d?.embeds?.[0]) {
|
||||
embed = d.embeds[0];
|
||||
} else {
|
||||
embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(String(d));
|
||||
}
|
||||
|
||||
/* Set Playing Next author tag on the added track embed */
|
||||
const authorName = embed.data?.author?.name || "";
|
||||
if (authorName.includes("Added to Queue") || !authorName) {
|
||||
embed.setAuthor({ name: this.t(message, "responses.playnext.playingNext") });
|
||||
}
|
||||
|
||||
if (statusMsg) statusMsg.edit({ embeds: [embed] }).catch(() => {});
|
||||
});
|
||||
}
|
||||
+20
-7
@@ -50,17 +50,29 @@ export async function run(msg, data) {
|
||||
const buildPage = () => {
|
||||
const start = page * perPage;
|
||||
const pickable = radios.slice(start, start + perPage);
|
||||
const prefix = this.handler.getPrefix(msg.message?.guildId ?? msg.channel?.guildId) || "%";
|
||||
|
||||
let desc = `📻 **Radio Stations (Page ${page + 1}/${totalPages})**\n\n`;
|
||||
let desc = "";
|
||||
pickable.forEach((r, i) => {
|
||||
const displayName = r.detailedName ?? r.name ?? "Station";
|
||||
const stationDesc = String(r.description ?? "").replaceAll("\n", "\n ");
|
||||
desc += `${NUMBER_EMOJIS[i]} **${displayName}** (\`${r.name ?? "station"}\`)\n`;
|
||||
desc += ` ${stationDesc}\n\n`;
|
||||
desc += `${NUMBER_EMOJIS[i]} **${displayName}** (\`${prefix}radio ${r.name ?? "station"}\`)\n`;
|
||||
if (stationDesc) desc += ` ${stationDesc}\n\n`;
|
||||
else desc += "\n";
|
||||
});
|
||||
desc += `⬅️ Previous ➡️ Next ❌ Cancel`;
|
||||
|
||||
return { payload: { embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(desc)] }, pickable };
|
||||
const authorName = this.t(msg, "responses.radio.stationsAuthor") || "24/7 Radio Station Directory";
|
||||
const titleName = this.t(msg, "responses.radio.stationsTitle", { page: page + 1, total: totalPages });
|
||||
const footerText = this.t(msg, "responses.radio.prevNext");
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: authorName })
|
||||
.setTitle(titleName)
|
||||
.setDescription(desc.trim())
|
||||
.setFooter({ text: footerText });
|
||||
|
||||
return { payload: { embeds: [embed] }, pickable };
|
||||
};
|
||||
|
||||
let { payload, pickable } = buildPage();
|
||||
@@ -165,13 +177,14 @@ async function playStation(ctx, msg, radio, editTarget = null) {
|
||||
const stationLine = stationUrl
|
||||
? `**[${stationName}](${stationUrl})**\n\n`
|
||||
: `**${stationName}**\n\n`;
|
||||
const skipHint = ctx.t(msg, "responses.radio.skipHint", { prefix }) || `_Use \`${prefix}skip\` to stop the radio, or \`${prefix}radio list\` to switch stations._`;
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setColor(0xe9196c)
|
||||
.setTitle(`📻 ${stationName}`)
|
||||
.setDescription(
|
||||
stationLine +
|
||||
`${stationDesc}\n\n` +
|
||||
`_Use \`${prefix}skip\` to stop the radio, or \`${prefix}radio list\` to switch stations._`
|
||||
skipHint
|
||||
)
|
||||
;
|
||||
|
||||
|
||||
+29
-2
@@ -4,6 +4,8 @@
|
||||
*/
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the remove command. */
|
||||
export const command = new CommandBuilder()
|
||||
@@ -27,6 +29,7 @@ export async function run(message, data) {
|
||||
const p = await this.getPlayer(message, false, false, false);
|
||||
if (!p) return;
|
||||
const raw = String(data.get("position")?.value ?? "").trim();
|
||||
const prefix = this.handler?.getPrefix?.(message.message?.guildId ?? message.channel?.guildId) ?? "%";
|
||||
if (!raw) return message.replyEmbed("Please provide a queue position or range (e.g. `3` or `3-6`).").catch(() => {});
|
||||
|
||||
const rangeMatch = raw.match(/^(\d+)\s*[-–—to:]+\s*(\d+)$/i) || raw.match(/^(\d+)\s+(\d+)$/);
|
||||
@@ -35,11 +38,35 @@ export async function run(message, data) {
|
||||
const to = parseInt(rangeMatch[2], 10);
|
||||
if (from < 1 || to < 1) return message.replyEmbed("Queue positions must be 1 or greater.").catch(() => {});
|
||||
const res = p.removeRange(from - 1, to - 1);
|
||||
return message.replyEmbed(res).catch(() => {});
|
||||
if (typeof res === "string" && !res.includes("Successfully")) {
|
||||
return message.replyEmbed(res).catch(() => {});
|
||||
}
|
||||
const remaining = p.queue?.size() ?? 0;
|
||||
const count = Math.abs(to - from) + 1;
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(message, "responses.remove.removedAuthor") })
|
||||
.setTitle(this.t(message, "responses.remove.removedRangeTitle", { count }))
|
||||
.setDescription(this.t(message, "responses.remove.removedRangeDesc", { from: Math.min(from, to), to: Math.max(from, to) }))
|
||||
.setFooter({ text: this.t(message, "responses.remove.remainingFooter", { count: remaining, plural: remaining === 1 ? "" : "s", prefix }) });
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
const single = parseInt(raw, 10);
|
||||
if (isNaN(single) || single < 1) return message.replyEmbed("Queue position must be 1 or greater.").catch(() => {});
|
||||
const queueData = p.queue?.data ?? [];
|
||||
const track = queueData[single - 1];
|
||||
const res = p.remove(single - 1);
|
||||
message.replyEmbed(res).catch(() => {});
|
||||
if (typeof res === "string" && res.toLowerCase().includes("out of bounds")) {
|
||||
return message.replyEmbed(res).catch(() => {});
|
||||
}
|
||||
const remaining = p.queue?.size() ?? 0;
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(message, "responses.remove.removedAuthor") })
|
||||
.setTitle(track?.title?.slice(0, 256) || "Removed Track")
|
||||
.setDescription(this.t(message, "responses.remove.removedSingleDesc", { position: single }))
|
||||
.setFooter({ text: this.t(message, "responses.remove.remainingFooter", { count: remaining, plural: remaining === 1 ? "" : "s", prefix }) });
|
||||
if (track?.thumbnail) embed.setThumbnail(track.thumbnail);
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+37
-5
@@ -5,7 +5,7 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
/**
|
||||
* @type {CommandBuilder}
|
||||
@@ -26,10 +26,42 @@ export const command = new CommandBuilder()
|
||||
export async function run(message) {
|
||||
const p = await this.getPlayer(message, false, true, false);
|
||||
if (!p) return;
|
||||
const res = p.resume();
|
||||
|
||||
const current = p.queue.getCurrent();
|
||||
if (!p.connection || !current) {
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses._common.nothingPlaying"));
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
if (!p._paused) {
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses.resume.alreadyPlaying") || "Already playing!");
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
p.resume();
|
||||
const elapsed = p.getCurrentElapsedDuration();
|
||||
const trackUrl = current.spotifyUrl || current.url || null;
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%";
|
||||
|
||||
let desc = trackUrl
|
||||
? `**[${Utils.truncate(current.title || this.t(message, "responses.play.unknownTrack"), 50)}](${trackUrl})**`
|
||||
: `**${Utils.truncate(current.title || this.t(message, "responses.play.unknownTrack"), 50)}**`;
|
||||
|
||||
if (rawAuthor) {
|
||||
desc += `\n${this.t(message, "responses.play.byAuthor", { author: rawAuthor })}`;
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(res)
|
||||
;
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `▶️ ${this.t(message, "responses.resume.resumedTitle")}` })
|
||||
.setTitle(this.t(message, "responses.resume.resumedAt", { time: elapsed }))
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: this.t(message, "responses.resume.pauseHint", { prefix }) });
|
||||
|
||||
if (current.thumbnail) {
|
||||
embed.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+30
-14
@@ -8,6 +8,7 @@ import { Message, getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { PROVIDER_CHOICES, PROVIDER_NAMES, parseInlineProvider } from "../src/music/providers.mjs";
|
||||
import { NUMBER_EMOJIS, CANCEL_EMOJI } from "../src/utils/UI.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
import { logger } from "../src/core/Logger.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the search command. */
|
||||
@@ -61,26 +62,35 @@ export async function run(msg, data) {
|
||||
const channel = msg.channel?.channel ?? msg.message?.channel;
|
||||
if (!channel?.send) return;
|
||||
|
||||
let providerIcon = "🔍";
|
||||
if (provider === "sp" || provider === "spotify") providerIcon = "🟢";
|
||||
else if (provider === "sc" || provider === "soundcloud") providerIcon = "🟠";
|
||||
else if (provider === "yt" || provider === "ytm" || provider === "youtube") providerIcon = "▶️";
|
||||
|
||||
const authorTitle = `${providerIcon} ${this.t(msg, "responses.search.resultsTitle", { provider: name })}`;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Build a search result embed.
|
||||
* @param {string} description - The embed description text.
|
||||
* @param {string|null} footerText - Optional footer text.
|
||||
* @param {string} [authorLabel=name] - The author field label (provider name).
|
||||
* @param {string} [authorLabel=authorTitle] - The author field label.
|
||||
* @param {string|null} [thumbnail=null] - Optional thumbnail URL.
|
||||
* @returns {EmbedBuilder} The constructed embed.
|
||||
*/
|
||||
const makeEmbed = (description, footerText, authorLabel = name) => {
|
||||
const makeEmbed = (description, footerText, authorLabel = authorTitle, thumbnail = null) => {
|
||||
const b = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: authorLabel })
|
||||
.setDescription(description);
|
||||
if (thumbnail) b.setThumbnail(thumbnail);
|
||||
if (footerText) b.setFooter({ text: footerText });
|
||||
return b;
|
||||
};
|
||||
|
||||
const nativeMsg = msg.message ?? msg;
|
||||
const rawMsg = await nativeMsg.reply(
|
||||
{ embeds: [makeEmbed(this.t(msg, "responses.search.loadingResults"), this.t(msg, "responses.play.searchingProvider", { provider: name }), this.t(msg, "responses.search.resultsTitle", { provider: name }))]},
|
||||
{ embeds: [makeEmbed(this.t(msg, "responses.search.loadingResults"), this.t(msg, "responses.play.searchingProvider", { provider: name }), authorTitle)]},
|
||||
{ ping: false }
|
||||
).catch(() => null);
|
||||
if (!rawMsg) return;
|
||||
@@ -94,20 +104,25 @@ export async function run(msg, data) {
|
||||
const results = p.searches.get(msg.authorId) ?? [];
|
||||
const reactions = NUMBER_EMOJIS.slice(0, res.count);
|
||||
|
||||
const cancelText = this.t(msg, "responses.search.cancelOption") || "Cancel";
|
||||
let desc = "";
|
||||
results.forEach((v, i) => {
|
||||
const dur = v.duration ? p.getDuration(v.duration) : "?:??";
|
||||
const title = v.title || "Unknown";
|
||||
const url = v.url || "";
|
||||
desc += `${NUMBER_EMOJIS[i]} [${title}](${url}) — \`${dur}\`\n`;
|
||||
const dur = v.duration ? p.getDuration(v.duration) : "?:??";
|
||||
const rawAuthor = v.artist || (typeof v.author === "object" ? v.author?.name : v.author);
|
||||
const authorStr = rawAuthor ? ` • ${Utils.truncate(rawAuthor, 30)}` : "";
|
||||
const title = Utils.truncate(v.title || this.t(msg, "responses.play.unknownTrack"), 50);
|
||||
const url = v.url || "";
|
||||
const titleFmt = url ? `[${title}](${url})` : title;
|
||||
desc += `${NUMBER_EMOJIS[i]} **${titleFmt}**${authorStr} • \`${dur}\`\n\n`;
|
||||
});
|
||||
desc += `\n${CANCEL_EMOJI} Cancel`;
|
||||
desc += `${CANCEL_EMOJI} ${cancelText}`;
|
||||
|
||||
await rawMsg.edit({
|
||||
embeds: [makeEmbed(
|
||||
desc,
|
||||
desc.trim(),
|
||||
this.t(msg, "responses.search.reactHint"),
|
||||
this.t(msg, "responses.search.resultsTitle", { provider: name })
|
||||
authorTitle,
|
||||
results[0]?.thumbnail || null
|
||||
)]
|
||||
}).catch(() => {});
|
||||
|
||||
@@ -145,7 +160,7 @@ export async function run(msg, data) {
|
||||
if (e.emoji_id === CANCEL_EMOJI) {
|
||||
p.searches.delete(msg.authorId);
|
||||
rawMsg.edit({
|
||||
embeds: [makeEmbed(this.t(msg, "responses.search.cancelled"), null, this.t(msg, "responses.search.resultsTitle", { provider: name }))]
|
||||
embeds: [makeEmbed(this.t(msg, "responses.search.cancelled"), null, authorTitle)]
|
||||
}).catch(() => {});
|
||||
return;
|
||||
}
|
||||
@@ -160,7 +175,8 @@ export async function run(msg, data) {
|
||||
embeds: [makeEmbed(
|
||||
this.t(msg, "responses.search.added", { title: v.title, url: v.url }),
|
||||
null,
|
||||
this.t(msg, "responses.search.resultsTitle", { provider: name })
|
||||
authorTitle,
|
||||
v.thumbnail || null
|
||||
)]
|
||||
}).catch(() => {});
|
||||
});
|
||||
@@ -171,7 +187,7 @@ export async function run(msg, data) {
|
||||
p.searches.delete(msg.authorId);
|
||||
clearReactions().catch(() => {});
|
||||
rawMsg.edit({
|
||||
embeds: [makeEmbed(this.t(msg, "responses.search.timedOut"), this.t(msg, "responses.search.sessionClosed"), this.t(msg, "responses.search.resultsTitle", { provider: name }))]
|
||||
embeds: [makeEmbed(this.t(msg, "responses.search.timedOut"), this.t(msg, "responses.search.sessionClosed"), authorTitle)]
|
||||
}).catch(() => {});
|
||||
}, SESSION_MS);
|
||||
}
|
||||
+33
-10
@@ -5,9 +5,7 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
import { ERROR_COLOR } from "../src/utils/UI.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the seek command. */
|
||||
export const command = new CommandBuilder()
|
||||
@@ -35,42 +33,67 @@ export async function run(msg, data) {
|
||||
if (!p) return;
|
||||
|
||||
if (!p.queue?.getCurrent()) {
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.seek.nothingPlaying"))] });
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(msg, "responses.seek.nothingPlaying"))] });
|
||||
}
|
||||
|
||||
if (p._paused) {
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.seek.paused"))] });
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(msg, "responses.seek.paused"))] });
|
||||
}
|
||||
|
||||
const current = p.queue.getCurrent();
|
||||
|
||||
if (current?.type === "radio" || current?.isLive || p._getTrackDurationMs(current) === 0) {
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.seek.live"))] });
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(msg, "responses.seek.live"))] });
|
||||
}
|
||||
|
||||
const trimmed = String(positionInput ?? "").trim();
|
||||
const isZero = /^0+(:0+)?(:0+)?$/.test(trimmed);
|
||||
const seekMs = isZero ? 0 : Utils.parseDuration(trimmed);
|
||||
if (seekMs === null || isNaN(seekMs) || seekMs < 0 || (!isZero && seekMs === 0)) {
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.seek.invalidFormat"))] });
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(msg, "responses.seek.invalidFormat"))] });
|
||||
}
|
||||
|
||||
const trackDuration = p._getTrackDurationMs(p.queue.getCurrent());
|
||||
|
||||
if (trackDuration > 0 && seekMs >= trackDuration) {
|
||||
const maxStr = Utils.prettifyMS(trackDuration);
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.seek.exceedsDuration", { duration: maxStr }))] });
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(msg, "responses.seek.exceedsDuration", { duration: maxStr }))] });
|
||||
}
|
||||
|
||||
try {
|
||||
const result = await p.seekToPosition(seekMs);
|
||||
if (result) {
|
||||
const seekStr = Utils.prettifyMS(seekMs);
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.seek.seeked", { position: seekStr }))] });
|
||||
const totalStr = Utils.prettifyMS(trackDuration);
|
||||
const trackUrl = current.spotifyUrl || current.url || null;
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const progressBar = Utils.progressBar(seekMs, trackDuration, 18, "▬", "▬", "🔘");
|
||||
|
||||
let desc = trackUrl
|
||||
? `**[${Utils.truncate(current.title || this.t(msg, "responses.play.unknownTrack"), 50)}](${trackUrl})**`
|
||||
: `**${Utils.truncate(current.title || this.t(msg, "responses.play.unknownTrack"), 50)}**`;
|
||||
|
||||
if (rawAuthor) {
|
||||
desc += `\n${this.t(msg, "responses.play.byAuthor", { author: rawAuthor })}`;
|
||||
}
|
||||
desc += `\n\n` + "`" + progressBar + "`";
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `⏩ ${this.t(msg, "responses.seek.seekTitle")}` })
|
||||
.setTitle(this.t(msg, "responses.seek.seekSubtitle", { position: seekStr, duration: totalStr }))
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: this.t(msg, "responses.seek.seeked", { position: seekStr }) });
|
||||
|
||||
if (current.thumbnail) {
|
||||
embed.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
return msg.reply({ embeds: [embed] });
|
||||
} else {
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.seek.notSupported"))] });
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(msg, "responses.seek.notSupported"))] });
|
||||
}
|
||||
} catch (err) {
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.seek.failed", { error: err.message }))] });
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(msg, "responses.seek.failed", { error: err.message }))] });
|
||||
}
|
||||
}
|
||||
+61
-19
@@ -7,7 +7,8 @@
|
||||
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { getMessageGuildId } from "../src/ui/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getMessageGuildId, getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { logger } from "../src/core/Logger.mjs";
|
||||
import {
|
||||
SHORTCUTS, BOOL_SETTINGS, VALID_LOCALES, setValidLocales,
|
||||
@@ -182,9 +183,19 @@ export async function run(message, data) {
|
||||
const desc = this.settingsMgr.descriptions?.[settingKey];
|
||||
const resolvedDesc = desc ? desc.replace(/\$prefix/gi, prefix) : null;
|
||||
const label = prettifySettingLabel(settingKey, t247, guildId);
|
||||
let reply = "**" + label + "**\nValue: " + displayValue(settingKey, val);
|
||||
if (resolvedDesc) reply += "\n\n*" + resolvedDesc + "*";
|
||||
return message.reply(embed(reply));
|
||||
|
||||
const inspEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(message, "responses.settings.inspectorTitle") })
|
||||
.setTitle(label)
|
||||
.addFields(
|
||||
{ name: this.t(message, "responses.settings.settingValueField"), value: displayValue(settingKey, val), inline: true }
|
||||
);
|
||||
if (resolvedDesc) {
|
||||
inspEmbed.addFields({ name: this.t(message, "responses.settings.settingDescField"), value: `*${resolvedDesc}*`, inline: false });
|
||||
}
|
||||
inspEmbed.setFooter({ text: this.t(message, "responses.settings.inspectorFooter", { prefix, setting: settingKey }) });
|
||||
return message.reply({ embeds: [inspEmbed] });
|
||||
}
|
||||
|
||||
const d = set.getAll();
|
||||
@@ -195,22 +206,53 @@ export async function run(message, data) {
|
||||
: null;
|
||||
|
||||
const channels = get247Channels(set);
|
||||
const lines = this.settingsMgr.getPublicKeys()
|
||||
.map(k => {
|
||||
if (k === "stay_247") {
|
||||
return "\u2022 **24/7 mode** " + String.fromCharCode(8212) + " " + (channels.size > 0
|
||||
? channels.size + " channel(s)"
|
||||
: "\u274c disabled");
|
||||
}
|
||||
const label = prettifySettingLabel(k, t247, guildId);
|
||||
return "\u2022 **" + label + "** " + String.fromCharCode(8212) + " " + displayValue(k, d[k]);
|
||||
});
|
||||
|
||||
return message.reply(embed(
|
||||
this.t(message, "responses.settings.serverHeader", { name: guildName }) + "\n\n" + lines.join("\n") + "\n\n" +
|
||||
this.t(message, "responses.settings.shortcutsHint", { prefix }),
|
||||
{ title: this.t(message, "responses.settings.serverTitle"), iconURL: iconUrl }
|
||||
));
|
||||
/* Category 1: General & Localization */
|
||||
const prefixVal = d.prefix ?? "%";
|
||||
const localeVal = d.locale ?? "en";
|
||||
const pfpVal = d.pfp ?? "default";
|
||||
const generalLines = [
|
||||
`• **${prettifySettingLabel("prefix", t247, guildId)}**: \`${prefixVal}\``,
|
||||
`• **${prettifySettingLabel("locale", t247, guildId)}**: \`${localeVal}\``,
|
||||
`• **${prettifySettingLabel("pfp", t247, guildId)}**: \`${pfpVal}\``
|
||||
].join("\n");
|
||||
|
||||
/* Category 2: Audio & Playback */
|
||||
const volVal = d.volume ?? 100;
|
||||
const songAnnounce = d.songAnnouncements ?? true;
|
||||
const normVal = d.normalize ?? true;
|
||||
const voteSkipVal = d.voteSkip ?? true;
|
||||
const voteLimit = d.voteSkipThreshold ?? 3;
|
||||
const audioLines = [
|
||||
`• **${prettifySettingLabel("volume", t247, guildId)}**: \`${volVal}%\``,
|
||||
`• **${prettifySettingLabel("normalize", t247, guildId)}**: ${normVal ? "✅ enabled (EBU R128)" : "❌ disabled"}`,
|
||||
`• **${prettifySettingLabel("songAnnouncements", t247, guildId)}**: ${songAnnounce ? "✅ enabled" : "❌ disabled"}`,
|
||||
`• **${prettifySettingLabel("voteSkip", t247, guildId)}**: ${voteSkipVal ? `✅ enabled (≥${voteLimit})` : "❌ disabled"}`
|
||||
].join("\n");
|
||||
|
||||
/* Category 3: 24/7 Voice Connection */
|
||||
let voice247Text = "❌ disabled";
|
||||
if (channels.size > 0) {
|
||||
const chList = [...channels].map(id => `<#${id}>`).join(", ");
|
||||
voice247Text = `🔊 ${chList} — **${this.t(message, "responses.settings.statusActive247")}**`;
|
||||
}
|
||||
|
||||
const dashEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(message, "responses.settings.dashboardTitle") })
|
||||
.setTitle(guildName)
|
||||
.addFields(
|
||||
{ name: this.t(message, "responses.settings.categoryGeneral"), value: generalLines, inline: false },
|
||||
{ name: this.t(message, "responses.settings.categoryAudio"), value: audioLines, inline: false },
|
||||
{ name: this.t(message, "responses.settings.categoryVoice247"), value: voice247Text, inline: false }
|
||||
)
|
||||
.setFooter({ text: this.t(message, "responses.settings.dashboardFooter", { prefix }) });
|
||||
|
||||
if (iconUrl) {
|
||||
dashEmbed.setThumbnail(iconUrl);
|
||||
}
|
||||
|
||||
return message.reply({ embeds: [dashEmbed] });
|
||||
}
|
||||
|
||||
if (cmd === "resetSettings") {
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
*/
|
||||
|
||||
|
||||
import { cleanId } from "../../src/ui/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { cleanId, getGlobalColor } from "../../src/ui/index.mjs";
|
||||
import { isPlayerConnectionDead } from "../../src/utils/Helpers247.mjs";
|
||||
import { isValidFluxerId, MAX_247_CHANNELS, embed, tWrap } from "./utils.mjs";
|
||||
|
||||
@@ -161,11 +162,56 @@ function build247PanelDescription(set, ctx, guildId, justToggledId = null) {
|
||||
export function build247Panel(set, ctx, guildId, justToggledId = null) {
|
||||
const t = tWrap(ctx, guildId);
|
||||
const prefix = ctx.handler.getPrefix(guildId);
|
||||
const channels = [...get247Channels(set)];
|
||||
const panelKey = (k, vars = {}) => t("responses.settings.247Panel." + k, vars);
|
||||
return embed(
|
||||
build247PanelDescription(set, ctx, guildId, justToggledId),
|
||||
{ title: panelKey("title"), footer: panelKey("footerLine", { prefix }) }
|
||||
);
|
||||
|
||||
const watchdog = ctx.gatewayHandler;
|
||||
const watchdogOn = watchdog?.isWatchdog247Running?.() === true;
|
||||
const sweepSeconds = Math.round((watchdog?._247WatchdogInterval ?? 60_000) / 1000);
|
||||
|
||||
const panelEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: panelKey("watchdogAuthor") })
|
||||
.setTitle(panelKey("watchdogTitle"))
|
||||
.setFooter({ text: panelKey("watchdogFooter", { prefix }) });
|
||||
|
||||
if (channels.length === 0) {
|
||||
panelEmbed.setDescription(
|
||||
panelKey("disabledLine") + "\n\n" +
|
||||
panelKey("allChannelsDisabled") + "\n\n" +
|
||||
panelKey("disabledHint", { prefix })
|
||||
);
|
||||
} else {
|
||||
const statuses = channels
|
||||
.map(id => channelStatus(ctx, guildId, id, t))
|
||||
.sort((a, b) => a.order - b.order);
|
||||
|
||||
const lines = statuses.map(s =>
|
||||
s.line + (justToggledId && s.line.includes("<#" + cleanId(justToggledId) + ">") ? " \u2190" : "")
|
||||
);
|
||||
|
||||
const allConnected = statuses.every(s => s.state === "connected");
|
||||
const statusHeader = (channels.length === 1 && allConnected
|
||||
? panelKey("enabledLine")
|
||||
: panelKey(channels.length === 1 ? "activeChannels_one" : "activeChannels_other", { count: channels.length }));
|
||||
|
||||
panelEmbed.setDescription(statusHeader + "\n\n" + lines.join("\n"));
|
||||
|
||||
panelEmbed.addFields(
|
||||
{
|
||||
name: panelKey("watchdogFieldRecovery"),
|
||||
value: watchdogOn ? panelKey("watchdogRecoveryArmed", { seconds: sweepSeconds }) : panelKey("autoRecoveryDisabledLine"),
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: panelKey("watchdogFieldInactivity"),
|
||||
value: panelKey("watchdogInactivitySuppressed"),
|
||||
inline: true
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
return { embeds: [panelEmbed] };
|
||||
}
|
||||
/**
|
||||
* Disable 24/7 mode for a specific channel.
|
||||
@@ -269,17 +315,19 @@ export async function handle247Toggle(ctx, message, set, guildId) {
|
||||
|
||||
if (channels.has(id)) {
|
||||
await disable247(ctx, set, guildId, userChannelId);
|
||||
return message.reply(embed(
|
||||
panelKey("confirmDisabled", { channel: "<#" + id + ">" }) + "\n\n" +
|
||||
build247PanelDescription(set, ctx, guildId, null),
|
||||
{ title: panelKey("title") }
|
||||
));
|
||||
const panel = build247Panel(set, ctx, guildId, null);
|
||||
panel.embeds[0].setDescription(
|
||||
panelKey("confirmDisabled", { channel: "<#" + id + ">" }) + "\n\n" +
|
||||
panel.embeds[0].description
|
||||
);
|
||||
return message.reply(panel);
|
||||
}
|
||||
|
||||
await enable247(ctx, set, guildId, userChannelId);
|
||||
return message.reply(embed(
|
||||
panelKey("confirmEnabled", { channel: "<#" + id + ">" }) + "\n\n" +
|
||||
build247PanelDescription(set, ctx, guildId, id),
|
||||
{ title: panelKey("title") }
|
||||
));
|
||||
const panel = build247Panel(set, ctx, guildId, id);
|
||||
panel.embeds[0].setDescription(
|
||||
panelKey("confirmEnabled", { channel: "<#" + id + ">" }) + "\n\n" +
|
||||
panel.embeds[0].description
|
||||
);
|
||||
return message.reply(panel);
|
||||
}
|
||||
@@ -27,7 +27,7 @@ const BOOL_TRUE = new Set(["true", "1", "yes", "on", "enable", "enabled"]);
|
||||
/** @private @type {Set<string>} Strings that evaluate to boolean false. */
|
||||
const BOOL_FALSE = new Set(["false", "0", "no", "off", "disable", "disabled"]);
|
||||
/** @private @type {Set<string>} Setting keys that use boolean display formatting. */
|
||||
export const BOOL_SETTINGS = new Set(["songAnnouncements", "voteSkip"]);
|
||||
export const BOOL_SETTINGS = new Set(["songAnnouncements", "voteSkip", "normalize"]);
|
||||
|
||||
/** @private @type {Set<string>} Available locale codes, populated at load time. */
|
||||
export let VALID_LOCALES = new Set(["en"]);
|
||||
@@ -138,6 +138,7 @@ export function prettifySettingLabel(key, t, guildId) {
|
||||
locale: "responses.settings.labelLocale",
|
||||
stay_247: "responses.settings.label247",
|
||||
volume: "responses.settings.labelVolume",
|
||||
normalize: "responses.settings.labelNormalize",
|
||||
voteSkip: "responses.settings.labelVoteSkip",
|
||||
voteSkipThreshold: "responses.settings.labelVoteSkipThreshold",
|
||||
};
|
||||
@@ -149,6 +150,7 @@ export function prettifySettingLabel(key, t, guildId) {
|
||||
locale: "Locale",
|
||||
stay_247: "24/7 mode",
|
||||
volume: "Default volume",
|
||||
normalize: "Volume normalization",
|
||||
voteSkip: "Vote to skip",
|
||||
voteSkipThreshold: "Vote to skip threshold",
|
||||
};
|
||||
|
||||
+34
-5
@@ -5,7 +5,7 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
/**
|
||||
* @type {CommandBuilder}
|
||||
@@ -26,10 +26,39 @@ export const command = new CommandBuilder()
|
||||
export async function run(message) {
|
||||
const p = await this.getPlayer(message, false, true, false);
|
||||
if (!p) return;
|
||||
const res = p.shuffle();
|
||||
|
||||
if (p.isEmpty()) {
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setDescription(this.t(message, "responses._common.nothingPlaying"));
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
p.queue.shuffle();
|
||||
p.emit("update", "queue");
|
||||
|
||||
const totalTracks = p.queue.size();
|
||||
const pluralStr = totalTracks === 1 ? this.t(message, "responses.play.trackSingle") : this.t(message, "responses.play.trackPlural");
|
||||
const nextTrack = p.queue.data?.[0];
|
||||
const nextTitle = nextTrack?.title ? Utils.truncate(nextTrack.title, 40) : null;
|
||||
const rawAuthor = nextTrack ? (nextTrack.artist || (typeof nextTrack.author === "object" ? nextTrack.author?.name : nextTrack.author)) : null;
|
||||
const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%";
|
||||
|
||||
let desc = `**${this.t(message, "responses.shuffle.shuffledSummary", { count: totalTracks, plural: pluralStr })}**`;
|
||||
if (nextTitle) {
|
||||
const authorStr = rawAuthor ? ` • ${rawAuthor}` : "";
|
||||
desc += `\n\n▶️ **${this.t(message, "responses.shuffle.newUpNext")}:**\n${nextTitle}${authorStr}`;
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(res)
|
||||
;
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🔀 ${this.t(message, "responses.shuffle.shuffledTitle")}` })
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: `${prefix}queue to view full order` });
|
||||
|
||||
if (nextTrack?.thumbnail) {
|
||||
embed.setThumbnail(nextTrack.thumbnail);
|
||||
}
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+40
-8
@@ -9,6 +9,7 @@ import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor, cleanId } from "../src/ui/index.mjs";
|
||||
import { countHumansInChannel } from "../src/voice/VoiceStateResolver.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the skip command. */
|
||||
export const command = new CommandBuilder()
|
||||
@@ -22,18 +23,47 @@ async function doSkip(ctx, message, p) {
|
||||
const current = p.queue.getCurrent();
|
||||
const skippedTitle = current?.title ?? null;
|
||||
const skippedLink = current ? (current.spotifyUrl || current.url || "") : "";
|
||||
const rawAuthor = current ? (current.artist || (typeof current.author === "object" ? current.author?.name : current.author)) : null;
|
||||
const skippedThumb = current?.thumbnail || null;
|
||||
const elapsed = p.getCurrentElapsedDuration();
|
||||
|
||||
const err = p.skip();
|
||||
if (!p.connection || !current) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(err);
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(err);
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
const desc = skippedTitle
|
||||
? ctx.t(message, "responses.skip.skippedTrack", { title: skippedTitle, url: skippedLink })
|
||||
: ctx.t(message, "responses.skip.skipped");
|
||||
const nextTrack = p.queue.data?.[0];
|
||||
const nextTitle = nextTrack?.title ? Utils.truncate(nextTrack.title, 40) : null;
|
||||
const queueCount = p.queue.size();
|
||||
const pluralStr = queueCount === 1 ? ctx.t(message, "responses.play.trackSingle") : ctx.t(message, "responses.play.trackPlural");
|
||||
|
||||
message.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(desc)] }).catch(() => {});
|
||||
const authorLabel = `⏭️ ${ctx.t(message, "responses.skip.skippedTitle")}`;
|
||||
const titleDisplay = skippedTitle ? Utils.truncate(skippedTitle, 50) : ctx.t(message, "responses.play.unknownTrack");
|
||||
|
||||
let desc = skippedLink ? `**[${titleDisplay}](${skippedLink})**` : `**${titleDisplay}**`;
|
||||
if (rawAuthor) {
|
||||
desc += `\n${ctx.t(message, "responses.play.byAuthor", { author: rawAuthor })}`;
|
||||
}
|
||||
|
||||
const footerParts = [];
|
||||
if (nextTitle) {
|
||||
footerParts.push(`▶️ ${ctx.t(message, "responses.skip.upNext")}: ${nextTitle}`);
|
||||
}
|
||||
footerParts.push(ctx.t(message, "responses.skip.queueRemaining", { count: queueCount, plural: pluralStr }));
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: authorLabel })
|
||||
.setTitle(ctx.t(message, "responses.skip.skippedAt", { time: elapsed }))
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: footerParts.join(" • ") });
|
||||
|
||||
if (skippedThumb) {
|
||||
embed.setThumbnail(skippedThumb);
|
||||
}
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -51,7 +81,7 @@ export async function run(message) {
|
||||
|
||||
const current = p.queue.getCurrent();
|
||||
if (!p.connection || !current) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(message, "responses._common.nothingPlaying"));
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c).setDescription(this.t(message, "responses._common.nothingPlaying"));
|
||||
return message.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
@@ -81,7 +111,8 @@ export async function run(message) {
|
||||
const needed = Math.floor(humanCount / 2) + 1;
|
||||
|
||||
if (p._skipVotes.has(userId)) {
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor())
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c)
|
||||
.setAuthor({ name: `🗳️ ${this.t(message, "responses.skip.skippedTitle")}` })
|
||||
.setDescription(this.t(message, "responses.skip.alreadyVoted", { votes: p._skipVotes.size, needed }));
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
@@ -93,7 +124,8 @@ export async function run(message) {
|
||||
return doSkip(this, message, p);
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor())
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c)
|
||||
.setAuthor({ name: `🗳️ ${this.t(message, "responses.skip.skippedTitle")}` })
|
||||
.setDescription(this.t(message, "responses.skip.voteAdded", { votes: p._skipVotes.size, needed }));
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+26
-10
@@ -5,7 +5,6 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
/**
|
||||
@@ -34,29 +33,33 @@ export async function run(message, data) {
|
||||
const p = await this.getPlayer(message, false, false, false);
|
||||
if (!p) return;
|
||||
|
||||
const current = p.queue?.getCurrent();
|
||||
const rawRate = data.get("rate")?.value;
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor());
|
||||
const prefix = this.handler?.getPrefix?.(message.message?.guildId ?? message.guild?.id) ?? "%";
|
||||
const embed = new EmbedBuilder().setColor(0xe9196c);
|
||||
|
||||
if (rawRate === null || rawRate === undefined || isNaN(Number(rawRate))) {
|
||||
// Reset to 1.0 or show current speed
|
||||
const currentTimescale = p.activeFilterPayload?.timescale;
|
||||
const currentSpeed = currentTimescale?.speed ?? 1.0;
|
||||
if (currentSpeed !== 1.0) {
|
||||
// Reset
|
||||
const existingPayload = { ...(p.activeFilterPayload || {}) };
|
||||
delete existingPayload.timescale;
|
||||
await p.applyFilter(existingPayload, Object.keys(existingPayload).length > 0 ? p.activeFilter : null);
|
||||
embed.setDescription(this.t(message, "responses.speed.reset"));
|
||||
embed.setAuthor({ name: `⏩ ${this.t(message, "responses.speed.speedTitle")}` })
|
||||
.setTitle("1.0× Normal")
|
||||
.setDescription(this.t(message, "responses.speed.reset"))
|
||||
.setFooter({ text: this.t(message, "responses.speed.resetHint", { prefix }) });
|
||||
} else {
|
||||
const prefix = this.handler?.getPrefix?.(message.message?.guildId ?? message.guild?.id) ?? "%";
|
||||
embed.setDescription(this.t(message, "responses.speed.current", { speed: "1.0", prefix }));
|
||||
embed.setAuthor({ name: `⏩ ${this.t(message, "responses.speed.speedTitle")}` })
|
||||
.setTitle("1.0× Normal")
|
||||
.setDescription(this.t(message, "responses.speed.current", { speed: "1.0", prefix }))
|
||||
.setFooter({ text: this.t(message, "responses.speed.resetHint", { prefix }) });
|
||||
}
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
const speed = Utils.clamp(Number(rawRate), 0.5, 2.0);
|
||||
|
||||
// Preserve other active filters if present, update only timescale speed
|
||||
const existingTimescale = p.activeFilterPayload?.timescale || {};
|
||||
const newTimescale = {
|
||||
...existingTimescale,
|
||||
@@ -73,7 +76,7 @@ export async function run(message, data) {
|
||||
const filterMeta = {
|
||||
key: `speed_${speed}`,
|
||||
label: `${speed}× Speed`,
|
||||
emoji: speed > 1 ? "⏩" : "🐢",
|
||||
emoji: speed > 1 ? "⚡" : "🐢",
|
||||
};
|
||||
|
||||
const res = await p.applyFilter(payload, filterMeta);
|
||||
@@ -82,6 +85,19 @@ export async function run(message, data) {
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
embed.setDescription(this.t(message, "responses.speed.set", { emoji: speed > 1 ? "⏩" : "🐢", speed }));
|
||||
let desc = this.t(message, "responses.speed.applied", { speed });
|
||||
if (current?.title) {
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const authorStr = rawAuthor ? ` • ${rawAuthor}` : "";
|
||||
desc += `\n**${Utils.truncate(current.title, 45)}**${authorStr}`;
|
||||
}
|
||||
|
||||
embed.setAuthor({ name: `⏩ ${this.t(message, "responses.speed.speedTitle")}` })
|
||||
.setTitle(this.t(message, "responses.speed.speedMultiplier", { speed }))
|
||||
.setDescription(desc)
|
||||
.setFooter({ text: this.t(message, "responses.speed.resetHint", { prefix }) });
|
||||
|
||||
if (current?.thumbnail) embed.setThumbnail(current.thumbnail);
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+14
-2
@@ -21,12 +21,24 @@ export const command = new CommandBuilder()
|
||||
* @returns {void}
|
||||
*/
|
||||
export function run(msg) {
|
||||
const botUser = this.client?.user;
|
||||
const botIcon = botUser?.displayAvatarURL?.() || null;
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({
|
||||
name: "Remix Support Community",
|
||||
iconURL: botIcon
|
||||
})
|
||||
.setTitle(this.t(msg, "responses.support.title"))
|
||||
.setDescription(
|
||||
this.t(msg, "responses.support.description")
|
||||
"Need help, want to report a bug, or suggest a new feature? Join our official community server:\n\n" +
|
||||
"🚀 **[Join Support Server (fluxer.gg/remix)](https://fluxer.gg/remix)**\n\n" +
|
||||
"🟢 **24/7 Community & Staff Assistance**\n" +
|
||||
"Feature requests, announcements, and audio troubleshooting guides."
|
||||
)
|
||||
;
|
||||
.setFooter({ text: "Remix Support • fluxer.gg/remix" });
|
||||
|
||||
if (botIcon) embed.setThumbnail(botIcon);
|
||||
msg.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+31
-5
@@ -5,7 +5,7 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { Utils } from "../src/utils/Utils.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the thumbnail command. */
|
||||
export const command = new CommandBuilder()
|
||||
@@ -24,12 +24,38 @@ export const command = new CommandBuilder()
|
||||
export async function run(msg) {
|
||||
const p = await this.getPlayer(msg);
|
||||
if (!p) return;
|
||||
const data = await p.getThumbnail();
|
||||
|
||||
const current = p.queue?.getCurrent();
|
||||
if (!current) {
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setDescription(this.t(msg, "responses._common.nothingPlaying"));
|
||||
return msg.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
if (!current.thumbnail) {
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setDescription(this.t(msg, "responses.thumbnail.noArtwork"));
|
||||
return msg.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
const trackUrl = current.spotifyUrl || current.url || null;
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const titleDisplay = Utils.truncate(current.title || this.t(msg, "responses.play.unknownTrack"), 50);
|
||||
|
||||
let desc = trackUrl ? `**[${titleDisplay}](${trackUrl})**` : `**${titleDisplay}**`;
|
||||
if (rawAuthor) {
|
||||
desc += `\n${this.t(msg, "responses.play.byAuthor", { author: rawAuthor })}`;
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(data.msg);
|
||||
if (data.image) embed.setImage(data.image);
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🖼️ ${this.t(msg, "responses.thumbnail.thumbTitle")}` })
|
||||
.setTitle(this.t(msg, "responses.thumbnail.highRes"))
|
||||
.setDescription(desc)
|
||||
.setImage(current.thumbnail)
|
||||
.setFooter({ text: this.t(msg, "responses.thumbnail.expandHint") });
|
||||
|
||||
msg.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
+75
-13
@@ -60,6 +60,30 @@ export const command = new CommandBuilder()
|
||||
)
|
||||
.addAlias("to");
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Build a text-based ASCII timeline representation of the cut window.
|
||||
* @param {number} startMs - Start time in milliseconds.
|
||||
* @param {number} endMs - End time in milliseconds.
|
||||
* @param {number} totalMs - Total track duration in milliseconds.
|
||||
* @returns {string} Formatted timeline string.
|
||||
*/
|
||||
function buildTimelineBar(startMs, endMs, totalMs) {
|
||||
if (!totalMs || totalMs <= 0) return `\`${Utils.prettifyMS(startMs)}\` ➔ \`${endMs > 0 ? Utils.prettifyMS(endMs) : "end"}\``;
|
||||
const totalSlots = 18;
|
||||
const startSlot = Math.min(totalSlots - 1, Math.floor((startMs / totalMs) * totalSlots));
|
||||
const effectiveEnd = endMs > 0 ? endMs : totalMs;
|
||||
const endSlot = Math.min(totalSlots, Math.max(startSlot + 1, Math.ceil((effectiveEnd / totalMs) * totalSlots)));
|
||||
|
||||
let bar = "";
|
||||
for (let i = 0; i < totalSlots; i++) {
|
||||
if (i < startSlot) bar += "─";
|
||||
else if (i >= startSlot && i < endSlot) bar += "■";
|
||||
else bar += "─";
|
||||
}
|
||||
return `\`${Utils.prettifyMS(startMs)}\` \`[${bar}]\` \`${Utils.prettifyMS(effectiveEnd)}\``;
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Extract an alias:name token from a parts array, mutating the array in place.
|
||||
@@ -157,14 +181,28 @@ export async function run(msg, data) {
|
||||
}
|
||||
|
||||
const endLabel = endMs > 0 ? Utils.prettifyMS(endMs) : "full track";
|
||||
let desc;
|
||||
if (result.alias === DEFAULT_ALIAS) {
|
||||
desc = this.t(msg, "responses.trackopt.saved", { title: current.title, aliasLabel: "", start: Utils.prettifyMS(startMs), end: endLabel });
|
||||
} else {
|
||||
desc = this.t(msg, "responses.trackopt.savedAlias", { title: current.title, alias: result.alias, start: Utils.prettifyMS(startMs), end: endLabel, prefix });
|
||||
const timeline = buildTimelineBar(startMs, endMs, trackDuration);
|
||||
const setEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(msg, "responses.trackopt.savedAuthor") })
|
||||
.setTitle(current.title?.slice(0, 256) || "Track Trim")
|
||||
.setDescription(
|
||||
result.alias === DEFAULT_ALIAS
|
||||
? this.t(msg, "responses.trackopt.saved", { title: current.title, aliasLabel: "", start: Utils.prettifyMS(startMs), end: endLabel })
|
||||
: this.t(msg, "responses.trackopt.savedAlias", { title: current.title, alias: result.alias, start: Utils.prettifyMS(startMs), end: endLabel, prefix })
|
||||
)
|
||||
.addFields(
|
||||
{ name: this.t(msg, "responses.trackopt.playbackWindowField"), value: timeline, inline: false },
|
||||
{ name: this.t(msg, "responses.trackopt.aliasField"), value: `\`${result.alias}\``, inline: true },
|
||||
{ name: this.t(msg, "responses.trackopt.activeTrimField"), value: `${Utils.prettifyMS(startMs)} ➔ ${endLabel}`, inline: true }
|
||||
);
|
||||
|
||||
if (current.thumbnail) setEmbed.setThumbnail(current.thumbnail);
|
||||
if (result.alias !== DEFAULT_ALIAS) {
|
||||
setEmbed.setFooter({ text: this.t(msg, "responses.trackopt.playHintFooter", { prefix, alias: result.alias }) });
|
||||
}
|
||||
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(desc)] });
|
||||
return msg.reply({ embeds: [setEmbed] });
|
||||
}
|
||||
|
||||
if (subCommand === "get") {
|
||||
@@ -173,15 +211,27 @@ export async function run(msg, data) {
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.trackopt.notSet", { title: current.title }))] });
|
||||
}
|
||||
|
||||
let desc = this.t(msg, "responses.trackopt.current", { title: current.title, count: rows.length }) + "\n\n";
|
||||
for (const row of rows) {
|
||||
const aliasLabel = row.alias === DEFAULT_ALIAS ? "default" : row.alias;
|
||||
const trackDuration = p._getTrackDurationMs(current);
|
||||
const getEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(msg, "responses.trackopt.savedListAuthor") })
|
||||
.setTitle(current.title?.slice(0, 256) || "Track Trims")
|
||||
.setFooter({ text: this.t(msg, "responses.trackopt.trimProfilesFooter", { count: rows.length, plural: rows.length === 1 ? "" : "s", prefix }) });
|
||||
|
||||
if (current.thumbnail) getEmbed.setThumbnail(current.thumbnail);
|
||||
|
||||
for (const row of rows.slice(0, 10)) {
|
||||
const aliasLabel = row.alias === DEFAULT_ALIAS ? "default (auto-apply)" : row.alias;
|
||||
const endStr = row.end_ms > 0 ? Utils.prettifyMS(row.end_ms) : "end";
|
||||
const autoTag = row.alias === DEFAULT_ALIAS ? " ← auto" : "";
|
||||
desc += this.t(msg, "responses.trackopt.currentEntry", { alias: aliasLabel, start: Utils.prettifyMS(row.start_ms), end: endStr, autoTag }) + "\n";
|
||||
const timeline = buildTimelineBar(row.start_ms, row.end_ms, trackDuration);
|
||||
getEmbed.addFields({
|
||||
name: `🏷️ ${aliasLabel}`,
|
||||
value: `${timeline}\n${Utils.prettifyMS(row.start_ms)} ➔ ${endStr}`,
|
||||
inline: false
|
||||
});
|
||||
}
|
||||
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(desc)] });
|
||||
return msg.reply({ embeds: [getEmbed] });
|
||||
}
|
||||
|
||||
if (subCommand === "play") {
|
||||
@@ -217,7 +267,19 @@ export async function run(msg, data) {
|
||||
|
||||
const aliasLabel = safeAlias === DEFAULT_ALIAS ? "default" : safeAlias;
|
||||
const endStr = result.endMs > 0 ? Utils.prettifyMS(result.endMs) : "end";
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this.t(msg, "responses.trackopt.applied", { alias: aliasLabel, start: Utils.prettifyMS(result.startMs), end: endStr }))] });
|
||||
const trackDuration = p._getTrackDurationMs(current);
|
||||
const timeline = buildTimelineBar(result.startMs, result.endMs, trackDuration);
|
||||
|
||||
const playEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.t(msg, "responses.trackopt.appliedAuthor") })
|
||||
.setTitle(current.title?.slice(0, 256) || "Track Trim")
|
||||
.setDescription(this.t(msg, "responses.trackopt.applied", { alias: aliasLabel, start: Utils.prettifyMS(result.startMs), end: endStr }))
|
||||
.addFields({ name: this.t(msg, "responses.trackopt.activeCutRangeField"), value: timeline, inline: false });
|
||||
|
||||
if (current.thumbnail) playEmbed.setThumbnail(current.thumbnail);
|
||||
|
||||
return msg.reply({ embeds: [playEmbed] });
|
||||
} catch (e) {
|
||||
return msg.reply({ embeds: [new EmbedBuilder().setColor(ERROR_COLOR).setDescription(this.t(msg, "responses.trackopt.applyFailed", { error: e.message }))] });
|
||||
}
|
||||
|
||||
+33
-12
@@ -5,10 +5,8 @@
|
||||
|
||||
import { CommandBuilder } from "../src/commands/index.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { MAX_VOLUME } from "../src/utils/UI.mjs";
|
||||
|
||||
|
||||
/**
|
||||
* @type {CommandBuilder}
|
||||
* @description Command definition for the volume command.
|
||||
@@ -38,21 +36,44 @@ export async function run(message, data) {
|
||||
|
||||
const volOption = data.get("volume");
|
||||
const raw = volOption?.value;
|
||||
const prefix = this.handler.getPrefix(message.message?.guildId ?? message.channel?.guildId) || "%";
|
||||
|
||||
const embed = new EmbedBuilder().setColor(getGlobalColor());
|
||||
const makeVolumeBar = (pct) => {
|
||||
const bars = Math.min(15, Math.max(0, Math.round(pct / 10)));
|
||||
return "█".repeat(bars) + "░".repeat(15 - bars);
|
||||
};
|
||||
|
||||
if (!volOption || raw === null || raw === undefined || isNaN(Number(raw))) {
|
||||
const current = Math.round((p.preferredVolume ?? 1) * 100);
|
||||
embed.setDescription(this.t(message, "responses.volume.current", { volume: current }));
|
||||
} else {
|
||||
const pct = Number(raw);
|
||||
if (pct < 0 || pct > MAX_VOLUME) {
|
||||
embed.setDescription(this.t(message, "responses.volume.outOfRange", { max: MAX_VOLUME }));
|
||||
} else {
|
||||
p.setVolume(pct / 100);
|
||||
embed.setDescription(this.t(message, "responses.volume.changed", { volume: pct }));
|
||||
}
|
||||
const bar = makeVolumeBar(current);
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🔊 ${this.t(message, "responses.volume.currentVolume")}` })
|
||||
.setTitle(`\`${current}%\``)
|
||||
.setDescription(`\`0%\` ${bar} \`${MAX_VOLUME}%\`\n\n${this.t(message, "responses.volume.current", { volume: current })}`)
|
||||
.setFooter({ text: this.t(message, "responses.volume.volumeHint", { prefix }) });
|
||||
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
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 }));
|
||||
return message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
|
||||
p.setVolume(pct / 100);
|
||||
const bar = makeVolumeBar(pct);
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `🔊 ${this.t(message, "responses.volume.volumeAdjusted")}` })
|
||||
.setTitle(`\`${pct}%\``)
|
||||
.setDescription(`\`0%\` ${bar} \`${MAX_VOLUME}%\`\n\n${this.t(message, "responses.volume.changed", { volume: pct })}`)
|
||||
.setFooter({ text: this.t(message, "responses.volume.volumeHint", { prefix }) });
|
||||
|
||||
message.reply({ embeds: [embed] }).catch(() => {});
|
||||
}
|
||||
@@ -9,6 +9,23 @@ import { getGlobalColor } from "../src/ui/index.mjs";
|
||||
import { PermissionFlags } from "@fluxerjs/core";
|
||||
import { MAX_VOLUME } from "../src/utils/UI.mjs";
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Build an ASCII slider bar for volume display.
|
||||
* @param {number} volume
|
||||
* @param {number} max
|
||||
* @returns {string}
|
||||
*/
|
||||
function buildVolumeSlider(volume, max = MAX_VOLUME) {
|
||||
const totalSlots = 14;
|
||||
const filled = Math.min(totalSlots, Math.max(0, Math.round((volume / max) * totalSlots)));
|
||||
let bar = "";
|
||||
for (let i = 0; i < totalSlots; i++) {
|
||||
bar += i < filled ? "■" : "─";
|
||||
}
|
||||
return `\`0%\` \`[${bar}]\` \`${max}%\` • **${volume}%**`;
|
||||
}
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the volumedefault command. */
|
||||
export const command = new CommandBuilder()
|
||||
.setName("volumedefault")
|
||||
@@ -53,13 +70,16 @@ export async function run(message, data) {
|
||||
const currentPlayerVol = Math.round((p.preferredVolume ?? 1) * 100);
|
||||
const pfx = this.handler.getPrefix(message.channel?.guildId ?? message.message?.guildId);
|
||||
embed
|
||||
.setAuthor({ name: this.t(message, "responses.volumedefault.author") })
|
||||
.setTitle(this.t(message, "responses.volumedefault.title"))
|
||||
.setDescription(
|
||||
this.t(message, "responses.volumedefault.serverDefault", { volume: currentDefault }) + "\n" +
|
||||
this.t(message, "responses.volumedefault.currentVolume", { volume: currentPlayerVol }) + "\n\n" +
|
||||
(hasManage
|
||||
hasManage
|
||||
? this.t(message, "responses.volumedefault.changeHint", { prefix: pfx, max: MAX_VOLUME })
|
||||
: this.t(message, "responses.volumedefault.noPermission"))
|
||||
: this.t(message, "responses.volumedefault.noPermission")
|
||||
)
|
||||
.addFields(
|
||||
{ name: this.t(message, "responses.volumedefault.fieldDefault"), value: buildVolumeSlider(currentDefault), inline: false },
|
||||
{ name: this.t(message, "responses.volumedefault.fieldActive"), value: `${currentPlayerVol}%`, inline: true }
|
||||
);
|
||||
} else if (!hasManage) {
|
||||
embed.setDescription(this.t(message, "responses.volumedefault.noPermissionSet"));
|
||||
@@ -70,7 +90,10 @@ export async function run(message, data) {
|
||||
} else {
|
||||
p.setVolume(pct / 100);
|
||||
if (set) set.set("volume", pct);
|
||||
embed.setDescription(this.t(message, "responses.volumedefault.saved", { volume: pct }));
|
||||
embed
|
||||
.setAuthor({ name: this.t(message, "responses.volumedefault.authorSaved") })
|
||||
.setDescription(this.t(message, "responses.volumedefault.saved", { volume: pct }))
|
||||
.addFields({ name: this.t(message, "responses.volumedefault.fieldNewDefault"), value: buildVolumeSlider(pct), inline: false });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -169,8 +169,10 @@ export async function run(msg, data) {
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: "🗳️ Vote for Remix" })
|
||||
.setTitle(this.t(msg, "responses.vote.voteTitle"))
|
||||
.setDescription(descLines.join("\n"));
|
||||
.setDescription(descLines.join("\n"))
|
||||
.setFooter({ text: `Check your vote status: ${prefix}vote check • %voters` });
|
||||
|
||||
return msg.reply({ embeds: [embed] });
|
||||
}
|
||||
|
||||
@@ -41,6 +41,15 @@ const isIgnorableWsCrash = (err) => {
|
||||
const isBenignAudioStopRace = (err) =>
|
||||
String(err?.message ?? err ?? "").includes("AudioSource is closed");
|
||||
|
||||
/**
|
||||
* @param {Error} err - The error to check.
|
||||
* @returns {boolean} True if the error is a benign demuxer stream error.
|
||||
*/
|
||||
const isBenignDemuxerError = (err) => {
|
||||
const msg = String(err?.message ?? err ?? "");
|
||||
return msg.includes("Did not find the EBML tag") || msg.includes("EBML tag");
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {Error} err - The error to check.
|
||||
* @returns {boolean} True if the error is the stream abort race.
|
||||
@@ -107,6 +116,14 @@ process.on("uncaughtException", async (err, origin) => {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (isBenignDemuxerError(err)) {
|
||||
const now = Date.now();
|
||||
if (now - _lastAudioRaceLog > WS_CRASH_LOG_COOLDOWN) {
|
||||
_lastAudioRaceLog = now;
|
||||
logger.warn("[Error_Handling] Suppressed corrupt audio stream demuxer error (" + (err?.message ?? err) + ") — track will be skipped/retried.");
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (isBenignStreamAbortRace(err)) {
|
||||
const now = Date.now();
|
||||
if (now - _lastAudioRaceLog > WS_CRASH_LOG_COOLDOWN) {
|
||||
@@ -132,6 +149,7 @@ process.on("uncaughtException", async (err, origin) => {
|
||||
process.on("uncaughtExceptionMonitor", (err, origin) => {
|
||||
if (isIgnorableWsCrash(err)) return;
|
||||
if (isBenignAudioStopRace(err)) return;
|
||||
if (isBenignDemuxerError(err)) return;
|
||||
if (isBenignStreamAbortRace(err)) return;
|
||||
if (isBenignTransportError(err)) return;
|
||||
logger.error("[Error_Handling] Uncaught Exception/Catch (MONITOR)");
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
import { PageBuilder } from "../ui/Paginators.mjs";
|
||||
import { Option, Flag } from "./Option.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../ui/index.mjs";
|
||||
|
||||
/**
|
||||
* @class HelpHandler
|
||||
@@ -152,52 +154,86 @@ export class HelpHandler {
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate detailed help text for a single command.
|
||||
* Generate detailed help embed for a single command.
|
||||
* @param {import('./CommandBuilder.mjs').CommandBuilder} command
|
||||
* @param {object} msg
|
||||
* @returns {string}
|
||||
* @returns {object} Object with embeds array containing the EmbedBuilder.
|
||||
*/
|
||||
getCommandHelp(command, msg) {
|
||||
const guildId = msg.message.guildId;
|
||||
let content = `${HelpHandler.capitalise(command.name)}\n`;
|
||||
content += this.commandDescription(command, msg) + "\n\n";
|
||||
content += this.commands.t(guildId, "cmdHandler.help.usage") + "\n💻 `" + this.commandUsage(command, msg) + "`\n\n";
|
||||
if (command.examples.length > 0)
|
||||
content += this.commands.t(guildId, "cmdHandler.help.examples") + "\n- `" + command.examples.map(e => this.commands.format(e, guildId)).join("`\n- `") + "`\n\n";
|
||||
const guildId = msg.message?.guildId ?? msg.channel?.guildId;
|
||||
const prefix = this.commands.getPrefix(guildId);
|
||||
const category = command.category ? command.category.toLowerCase() : "general";
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this.commands.t(guildId, "cmdHandler.help.commandInspectorAuthor", { prefix, name: command.name }) })
|
||||
.setTitle(HelpHandler.capitalise(command.name))
|
||||
.setDescription(this.commandDescription(command, msg) || "No description provided.")
|
||||
.addFields({
|
||||
name: `💻 ${this.commands.t(guildId, "cmdHandler.help.usage")}`,
|
||||
value: `\`${this.commandUsage(command, msg)}\``,
|
||||
inline: false
|
||||
});
|
||||
|
||||
if (command.examples.length > 0) {
|
||||
embed.addFields({
|
||||
name: `💡 ${this.commands.t(guildId, "cmdHandler.help.examples")}`,
|
||||
value: command.examples.map(e => `\`${this.commands.format(e, guildId)}\``).join("\n"),
|
||||
inline: false
|
||||
});
|
||||
}
|
||||
|
||||
if (command.aliases.length > 1) {
|
||||
content += this.commands.t(guildId, "cmdHandler.help.aliases") + "\n";
|
||||
command.aliases.forEach(alias => { content += "- " + alias + "\n"; });
|
||||
content += "\n";
|
||||
embed.addFields({
|
||||
name: `🏷️ ${this.commands.t(guildId, "cmdHandler.help.aliases")}`,
|
||||
value: command.aliases.map(a => `\`${a}\``).join(", "),
|
||||
inline: true
|
||||
});
|
||||
}
|
||||
|
||||
if (command.subcommands.length > 0) {
|
||||
content += this.commands.t(guildId, "cmdHandler.help.subcommands") + "\n";
|
||||
command.subcommands.forEach(s => {
|
||||
const optCount = s.options.length > 0 ? "; (`" + this.commands.t(guildId, "cmdHandler.help.optionCount", { $count: s.options.length }) + "`)" : "";
|
||||
content += "- " + s.name + ": " + (this.commandDescription(s, msg) || "").split("\n")[0] + optCount + "\n";
|
||||
const subs = command.subcommands.map(s => {
|
||||
const optCount = s.options.length > 0 ? ` (\`${s.options.length} options\`)` : "";
|
||||
return `• **${s.name}**: ${(this.commandDescription(s, msg) || "").split("\n")[0]}${optCount}`;
|
||||
}).join("\n");
|
||||
embed.addFields({
|
||||
name: `📂 ${this.commands.t(guildId, "cmdHandler.help.subcommands")}`,
|
||||
value: subs.slice(0, 1024),
|
||||
inline: false
|
||||
});
|
||||
content += "\n";
|
||||
} else if (command.options.length > 0) {
|
||||
content += this.commands.t(guildId, "cmdHandler.help.arguments") + "\n";
|
||||
command.options.forEach(o => {
|
||||
const optional = ((o.required) ? "" : "?");
|
||||
const optLines = command.options.map(o => {
|
||||
const optional = o.required ? "" : " *(optional)*";
|
||||
const flag = (o instanceof Flag) ? "-" : "";
|
||||
const desc = (o.description || "").split("\n")[0];
|
||||
if (o.type === "choice") {
|
||||
const choiceDisplay = Option.formatChoicesInline(o.choices);
|
||||
const aliasDisplay = o.aliases.filter(a => a !== null).join('`, `');
|
||||
content += "- **" + flag + o.name + "**" + optional + ": " + (o.description || "").split("\n")[0] + ";\n - " + this.commands.t(guildId, "cmdHandler.help.allowedValues") + choiceDisplay + "\n - " + this.commands.t(guildId, "cmdHandler.help.aliasesLabel") + "`" + aliasDisplay + "`\n";
|
||||
} else {
|
||||
content += "- **" + flag + o.name + "**" + optional + ": " + (o.description || "").split("\n")[0] + "\n - " + this.commands.t(guildId, "cmdHandler.help.aliasesLabel") + "`" + o.aliases.join("`, `") + "`\n";
|
||||
return `• **${flag}${o.name}**${optional}: ${desc}\n └ Values: \`${choiceDisplay}\``;
|
||||
}
|
||||
content += "\n";
|
||||
return `• **${flag}${o.name}**${optional}: ${desc}`;
|
||||
}).join("\n");
|
||||
embed.addFields({
|
||||
name: `⚙️ ${this.commands.t(guildId, "cmdHandler.help.arguments")}`,
|
||||
value: optLines.slice(0, 1024),
|
||||
inline: false
|
||||
});
|
||||
content += "\n";
|
||||
}
|
||||
|
||||
if (command.requirements.length > 0) {
|
||||
content += this.commands.t(guildId, "cmdHandler.help.requirements") + "\n";
|
||||
command.requirements.forEach(r => {
|
||||
content += "- " + r.getPermissions().map(e => this.commands.t(guildId, "cmdHandler.help.permission", { $permission: e })).join("\n- ");
|
||||
});
|
||||
const perms = command.requirements.map(r =>
|
||||
r.getPermissions().map(e => this.commands.t(guildId, "cmdHandler.help.permission", { $permission: e })).join(", ")
|
||||
).filter(Boolean).join(", ");
|
||||
if (perms) {
|
||||
embed.addFields({
|
||||
name: `🔒 ${this.commands.t(guildId, "cmdHandler.help.requirements")}`,
|
||||
value: perms.slice(0, 1024),
|
||||
inline: false
|
||||
});
|
||||
}
|
||||
}
|
||||
return content.trim();
|
||||
|
||||
embed.setFooter({ text: this.commands.t(guildId, "cmdHandler.help.commandInspectorFooter", { prefix, category }) });
|
||||
|
||||
return { embeds: [embed] };
|
||||
}
|
||||
}
|
||||
@@ -148,7 +148,10 @@ const PlayerLifecycleMixin = {
|
||||
const cleanGuildId = cleanId(guildId);
|
||||
|
||||
if (!cleanGuildId) {
|
||||
await msg.reply(this._t(msg, "responses._common.serverOnlyForMusic")).catch(() => {});
|
||||
const serverOnlyEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(this._t(msg, "responses._common.serverOnlyForMusic"));
|
||||
await msg.reply({ embeds: [serverOnlyEmbed] }).catch(() => {});
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -171,9 +174,13 @@ const PlayerLifecycleMixin = {
|
||||
}
|
||||
|
||||
const hint = this._t(msg, "responses._common.voiceSelectionHint");
|
||||
const selectionMsg = await msg.reply(
|
||||
(channelSelection ? channelSelection + "\n**..or** " + hint : "Please " + hint)
|
||||
);
|
||||
const promptEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this._t(msg, "responses.join.selectVCAuthor") })
|
||||
.setDescription(channelSelection ? channelSelection + "\n**..or** " + hint : "Please " + hint)
|
||||
.setFooter({ text: this._t(msg, "responses.join.selectVCFooter") });
|
||||
|
||||
const selectionMsg = await msg.reply({ embeds: [promptEmbed] });
|
||||
|
||||
return new Promise(resolve => {
|
||||
let unsubscribeReactions;
|
||||
@@ -187,7 +194,10 @@ const PlayerLifecycleMixin = {
|
||||
|
||||
const timeout = setTimeout(() => {
|
||||
cleanup();
|
||||
msg.reply(this._t(msg, "responses._common.voiceSelectionTimedOut"));
|
||||
const timeoutEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setDescription(this._t(msg, "responses._common.voiceSelectionTimedOut"));
|
||||
msg.reply({ embeds: [timeoutEmbed] }).catch(() => {});
|
||||
resolve(false);
|
||||
}, 30_000);
|
||||
|
||||
@@ -360,7 +370,7 @@ const PlayerLifecycleMixin = {
|
||||
} catch(e) {
|
||||
logger.warn("[PlayerManager] Failed to save announcement channel ID:", e?.message);
|
||||
}
|
||||
message.reply(this._t(message, "responses.join.alreadyJoined", { channel: cid }));
|
||||
message.reply({ embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this._t(message, "responses.join.alreadyJoined", { channel: cid }))] });
|
||||
return existing;
|
||||
}
|
||||
}
|
||||
@@ -557,7 +567,8 @@ const PlayerLifecycleMixin = {
|
||||
});
|
||||
});
|
||||
|
||||
const statusMsg = await message.reply(this._t(message, "responses.join.joining")).catch(() => null);
|
||||
const joiningEmbed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(this._t(message, "responses.join.joining"));
|
||||
const statusMsg = await message.reply({ embeds: [joiningEmbed] }).catch(() => null);
|
||||
try {
|
||||
await player.join(cid);
|
||||
|
||||
@@ -565,9 +576,16 @@ const PlayerLifecycleMixin = {
|
||||
this._indexPlayer(channel.guildId ?? getMessageGuildId(message), cleanChannelId);
|
||||
this._pendingJoins.delete(cleanChannelId);
|
||||
|
||||
await statusMsg?.edit?.(this._t(message, "responses.join.joined", { channel: cid })).catch(() => {});
|
||||
|
||||
const guildId = cleanId(channel.guildId ?? getMessageGuildId(message));
|
||||
const prefix = this.commands?.getPrefix?.(guildId) ?? "%";
|
||||
const joinedEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this._t(message, "responses.join.connectedAuthor") })
|
||||
.setDescription(this._t(message, "responses.join.joined", { channel: cid }))
|
||||
.setFooter({ text: this._t(message, "responses.join.playPromptFooter", { prefix }) });
|
||||
|
||||
await statusMsg?.edit?.({ content: null, embeds: [joinedEmbed] }).catch(() => {});
|
||||
|
||||
this._restorePlayerVolume(player, guildId);
|
||||
|
||||
return player;
|
||||
@@ -584,9 +602,15 @@ const PlayerLifecycleMixin = {
|
||||
|
||||
this.playerMap.set(cleanChannelId, player);
|
||||
this._indexPlayer(channel.guildId ?? getMessageGuildId(message), cleanChannelId);
|
||||
await statusMsg?.edit?.(this._t(message, "responses.join.joined", { channel: cid })).catch(() => {});
|
||||
|
||||
const retryGuildId = cleanId(channel.guildId ?? getMessageGuildId(message));
|
||||
const retryPrefix = this.commands?.getPrefix?.(retryGuildId) ?? "%";
|
||||
const joinedEmbed = new EmbedBuilder()
|
||||
.setColor(getGlobalColor())
|
||||
.setAuthor({ name: this._t(message, "responses.join.connectedAuthor") })
|
||||
.setDescription(this._t(message, "responses.join.joined", { channel: cid }))
|
||||
.setFooter({ text: this._t(message, "responses.join.playPromptFooter", { prefix: retryPrefix }) });
|
||||
await statusMsg?.edit?.({ content: null, embeds: [joinedEmbed] }).catch(() => {});
|
||||
|
||||
this._restorePlayerVolume(player, retryGuildId);
|
||||
return player;
|
||||
} catch (retryErr) {
|
||||
@@ -602,7 +626,8 @@ const PlayerLifecycleMixin = {
|
||||
} else {
|
||||
errorMsg = this._t(message, "responses.join.joinFailed", { error: err.message });
|
||||
}
|
||||
await statusMsg?.edit?.(errorMsg).catch(() => {});
|
||||
const errorEmbed = new EmbedBuilder().setColor(getGlobalColor()).setDescription(errorMsg);
|
||||
await statusMsg?.edit?.({ content: null, embeds: [errorEmbed] }).catch(() => {});
|
||||
this.playerMap.delete(cleanChannelId);
|
||||
this._unindexPlayer(channel.guildId ?? getMessageGuildId(message), cleanChannelId);
|
||||
player.destroy();
|
||||
|
||||
@@ -319,8 +319,18 @@ export class FluxerAudioBridge extends EventEmitter {
|
||||
opened.stream.destroy();
|
||||
return "stopped";
|
||||
}
|
||||
this._stream = opened.stream;
|
||||
await conn.play(opened.stream);
|
||||
let streamToPlay = opened.stream;
|
||||
if (opened.kind === "ogg") {
|
||||
logger.player("[AudioBridge] Remuxing Ogg stream to WebM for voice connection...");
|
||||
const remuxed = await this._remuxOggToWebM(opened.stream);
|
||||
if (generation !== this._playGeneration) {
|
||||
remuxed?.destroy?.();
|
||||
return "stopped";
|
||||
}
|
||||
streamToPlay = remuxed;
|
||||
}
|
||||
this._stream = streamToPlay;
|
||||
await conn.play(streamToPlay);
|
||||
} catch (e) {
|
||||
if (generation !== this._playGeneration) return "stopped";
|
||||
if (this._stopped || !this._playing) return "stopped";
|
||||
|
||||
@@ -155,12 +155,13 @@ const HttpStreams = {
|
||||
if (connectTimer) { clearTimeout(connectTimer); connectTimer = null; }
|
||||
resetIdleTimeout();
|
||||
|
||||
const socket = res.socket;
|
||||
const rearmIdle = () => resetIdleTimeout();
|
||||
const stopIdleWatch = () => {
|
||||
res.off("data", rearmIdle);
|
||||
socket?.off("data", rearmIdle);
|
||||
if (idleTimer) { clearTimeout(idleTimer); idleTimer = null; }
|
||||
};
|
||||
res.on("data", rearmIdle);
|
||||
socket?.on("data", rearmIdle);
|
||||
res.once("end", stopIdleWatch);
|
||||
res.once("close", stopIdleWatch);
|
||||
|
||||
|
||||
@@ -141,6 +141,11 @@ const StreamPipeline = {
|
||||
);
|
||||
}
|
||||
|
||||
if (seekMs <= 0 && routed.kind === "webm") {
|
||||
logger.player("[AudioBridge] Direct WebM stream open (zero-seek passthrough)");
|
||||
return { stream: routed.stream, kind: "webm" };
|
||||
}
|
||||
|
||||
const positioner = new StreamPositioner({ kind: routed.kind, seekMs });
|
||||
const out = routed.stream.pipe(positioner);
|
||||
logger.player("[AudioBridge] Positioned stream open (kind=" + routed.kind + ", seek=" + seekMs + "ms)");
|
||||
@@ -262,9 +267,8 @@ const StreamPipeline = {
|
||||
});
|
||||
oggStream.pipe(demuxer).pipe(muxer);
|
||||
await headPromise;
|
||||
const wrapper = Object.create(muxer);
|
||||
wrapper.getDurationMs = () => frameCount * OPUS_FRAME_MS;
|
||||
return wrapper;
|
||||
muxer.getDurationMs = () => frameCount * OPUS_FRAME_MS;
|
||||
return muxer;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -170,7 +170,7 @@ const DisplayMixin = {
|
||||
*/
|
||||
async nowPlaying() {
|
||||
const current = this.queue.getCurrent();
|
||||
if (!current) return { msg: "There's nothing playing at the moment." };
|
||||
if (!current) return { msg: "There's nothing playing at the moment.", embed: null };
|
||||
|
||||
const loopqueue = this.queue.loop ? "🔄" : "⏹️";
|
||||
const songloop = this.queue.songLoop ? "🔂" : "⏹️";
|
||||
@@ -179,45 +179,114 @@ const DisplayMixin = {
|
||||
|
||||
const vcLine = this._channelId ? `🔊 <#${this._channelId}>\n` : "";
|
||||
|
||||
let sourceName = this._t("responses.play.sourceMusic");
|
||||
let sourceIcon = "🎵";
|
||||
const sourceColor = 0xe9196c;
|
||||
|
||||
if (current.type === "radio") {
|
||||
sourceName = this._t("responses.play.sourceRadio");
|
||||
sourceIcon = "📻";
|
||||
} else if (current.spotifyUrl || current.type === "spotify") {
|
||||
sourceName = this._t("responses.play.sourceSpotify");
|
||||
sourceIcon = "🟢";
|
||||
} else if (current.type === "soundcloud" || current.url?.includes("soundcloud.com")) {
|
||||
sourceName = this._t("responses.play.sourceSoundcloud");
|
||||
sourceIcon = "🟠";
|
||||
} else if (current.type === "youtube" || current.url?.includes("youtube.com") || current.url?.includes("youtu.be")) {
|
||||
sourceName = this._t("responses.play.sourceYoutube");
|
||||
sourceIcon = "▶️";
|
||||
}
|
||||
|
||||
const trackUrl = current.spotifyUrl || current.url || null;
|
||||
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);
|
||||
const artistName = rawAuthor || this._t("responses.play.unknownAuthor");
|
||||
const loopState = this.queue.songLoop
|
||||
? `🔂 ${this._t("responses.play.loopSongLabel")}`
|
||||
: this.queue.loop
|
||||
? `🔄 ${this._t("responses.play.loopQueueLabel")}`
|
||||
: this._t("responses.play.loopOffLabel");
|
||||
const nextTrack = this.queue.data?.[0]?.title
|
||||
? Utils.truncate(this.queue.data[0].title, 35)
|
||||
: this._t("responses.play.endOfQueue");
|
||||
const queueCount = this.queue.size();
|
||||
const queueRemaining = this.getQueueRemainingTime();
|
||||
|
||||
let textMsg = "";
|
||||
let radioLiveTitle = null;
|
||||
|
||||
if (current.type === "radio") {
|
||||
try {
|
||||
const data = await meta(current.url);
|
||||
return {
|
||||
msg: `${vcLine}📻 **[${current.title}](${current.author?.url || current.url})**\n${current.description || ""}\n\n🎵 Now playing: ${data?.title || "Unknown"}\n\n🔉 ${vol} │ ${loopqueue} Queue │ ${songloop} Song │ ${autoplay} Autoplay`,
|
||||
image: current.thumbnail
|
||||
};
|
||||
radioLiveTitle = data?.title || null;
|
||||
textMsg = `${vcLine}📻 **[${current.title}](${current.author?.url || current.url})**\n${current.description || ""}\n\n🎵 Now playing: ${radioLiveTitle || "Unknown"}\n\n🔉 ${vol} │ ${loopqueue} Queue │ ${songloop} Song │ ${autoplay} Autoplay`;
|
||||
} catch (e) {
|
||||
logger.warn("[Player] Error:", e?.message);
|
||||
return {
|
||||
msg: `${vcLine}📻 **[${current.title}](${current.author?.url || current.url})**\n\n🔉 ${vol} │ ${loopqueue} Queue │ ${songloop} Song │ ${autoplay} Autoplay`,
|
||||
image: current.thumbnail
|
||||
};
|
||||
logger.warn("[Player] Error:", e?.message);
|
||||
textMsg = `${vcLine}📻 **[${current.title}](${current.author?.url || current.url})**\n\n🔉 ${vol} │ ${loopqueue} Queue │ ${songloop} Song │ ${autoplay} Autoplay`;
|
||||
}
|
||||
}
|
||||
|
||||
if (current.type === "external" || current.type === "stream") {
|
||||
} else if (current.type === "external" || current.type === "stream") {
|
||||
const totalMs = this._getTrackDurationMs(current);
|
||||
let progressLine = "";
|
||||
|
||||
if (totalMs > 0) {
|
||||
progressLine = `\n${this._createProgressBar(20)}`;
|
||||
const progressLine = totalMs > 0 ? `\n${this._createProgressBar(20)}` : "";
|
||||
textMsg = `${vcLine}🎵 **[${current.title}](${current.url})** by ${artistName}${progressLine}\n\n🔉 ${vol} │ ${loopqueue} Queue │ ${songloop} Song │ ${autoplay} Autoplay`;
|
||||
} else {
|
||||
const progressBar = this._createProgressBar(20);
|
||||
let trackOptLine = "";
|
||||
if (this._activeTrackOpt) {
|
||||
const optStart = Utils.prettifyMS(this._activeTrackOpt.startMs);
|
||||
const optEnd = this._activeTrackOpt.endMs > 0 ? Utils.prettifyMS(this._activeTrackOpt.endMs) : "end";
|
||||
trackOptLine = `\n✂️ Custom: ${optStart} → ${optEnd}`;
|
||||
}
|
||||
return {
|
||||
msg: `${vcLine}🎵 **[${current.title}](${current.url})** by ${current.artist || "Unknown"}${progressLine}\n\n🔉 ${vol} │ ${loopqueue} Queue │ ${songloop} Song │ ${autoplay} Autoplay`,
|
||||
image: current.thumbnail
|
||||
};
|
||||
textMsg = `${vcLine}🎵 **[${current.title}](${trackUrl || current.url})**\n${progressBar}${trackOptLine}\n\n🔉 ${vol} │ ${loopqueue} Queue │ ${songloop} Song │ ${autoplay} Autoplay`;
|
||||
}
|
||||
|
||||
const progressBar = this._createProgressBar(20);
|
||||
let trackOptLine = "";
|
||||
if (this._activeTrackOpt) {
|
||||
const optStart = Utils.prettifyMS(this._activeTrackOpt.startMs);
|
||||
const optEnd = this._activeTrackOpt.endMs > 0 ? Utils.prettifyMS(this._activeTrackOpt.endMs) : "end";
|
||||
trackOptLine = `\n✂️ Custom: ${optStart} → ${optEnd}`;
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(sourceColor)
|
||||
.setAuthor({
|
||||
name: `${sourceIcon} ${this._t("responses.play.autoNowPlaying")} • ${sourceName}`,
|
||||
url: trackUrl || undefined,
|
||||
})
|
||||
.setTitle(Utils.truncate(current.title || this._t("responses.play.unknownTrack"), 250))
|
||||
.setURL(trackUrl || undefined);
|
||||
|
||||
if (current.thumbnail) {
|
||||
embed.setThumbnail(current.thumbnail);
|
||||
}
|
||||
|
||||
if (current.type === "radio") {
|
||||
let desc = current.description ? `${current.description}\n\n` : "";
|
||||
desc += `🎵 **${this._t("responses.play.liveBroadcast")}:** ${radioLiveTitle || this._t("responses.play.sourceRadio")}`;
|
||||
embed.setDescription(desc);
|
||||
embed.addFields(
|
||||
{ name: `📻 ${this._t("responses.play.station")}`, value: Utils.truncate(current.title || this._t("responses.play.sourceRadio"), 40), inline: true },
|
||||
{ name: `🎧 ${this._t("responses.play.channel")}`, value: this._channelId ? `<#${this._channelId}>` : this._t("responses.play.none"), inline: true },
|
||||
{ name: `🔊 ${this._t("responses.play.volume")}`, value: vol, inline: true }
|
||||
);
|
||||
} else {
|
||||
let desc = `${this._createProgressBar(20)}`;
|
||||
if (this._activeTrackOpt) {
|
||||
const optStart = Utils.prettifyMS(this._activeTrackOpt.startMs);
|
||||
const optEnd = this._activeTrackOpt.endMs > 0 ? Utils.prettifyMS(this._activeTrackOpt.endMs) : "end";
|
||||
desc += `\n✂️ ${this._t("responses.play.customCut")}: \`${optStart} → ${optEnd}\``;
|
||||
}
|
||||
embed.setDescription(desc);
|
||||
embed.addFields(
|
||||
{ name: `👤 ${this._t("responses.play.artist")}`, value: Utils.truncate(artistName, 40), inline: true },
|
||||
{ name: `🎧 ${this._t("responses.play.channel")}`, value: this._channelId ? `<#${this._channelId}>` : this._t("responses.play.none"), inline: true },
|
||||
{ name: `⚙️ ${this._t("responses.play.modeVol")}`, value: `${loopState} • ${vol}`, inline: true }
|
||||
);
|
||||
}
|
||||
|
||||
const pluralStr = queueCount === 1 ? this._t("responses.play.trackSingle") : this._t("responses.play.trackPlural");
|
||||
const footerText = queueCount > 0
|
||||
? this._t("responses.play.nowPlayingFooter", { count: queueCount, plural: pluralStr, remaining: queueRemaining, next: nextTrack })
|
||||
: this._t("responses.play.nowPlayingFooterEmpty", { autoplay: this._autoplay ? this._t("responses.play.on") : this._t("responses.play.off") });
|
||||
|
||||
embed.setFooter({ text: footerText });
|
||||
if (typeof embed.setTimestamp === "function") embed.setTimestamp();
|
||||
|
||||
return {
|
||||
msg: `${vcLine}🎵 **[${current.title}](${current.spotifyUrl || current.url})**\n${progressBar}${trackOptLine}\n\n🔉 ${vol} │ ${loopqueue} Queue │ ${songloop} Song │ ${autoplay} Autoplay`,
|
||||
image: current.thumbnail
|
||||
msg: textMsg,
|
||||
image: current.thumbnail,
|
||||
embed
|
||||
};
|
||||
},
|
||||
|
||||
@@ -256,6 +325,79 @@ const DisplayMixin = {
|
||||
return this.getDuration(current.duration);
|
||||
},
|
||||
|
||||
/**
|
||||
* Build a rich localized Added-to-Queue embed.
|
||||
* @this {import('./Player.mjs').Player}
|
||||
* @param {object} video - The queued track object.
|
||||
* @param {boolean} [top=false] - Whether added to the top of queue.
|
||||
* @param {string} [requester=null] - User ID who queued the track.
|
||||
* @returns {EmbedBuilder}
|
||||
*/
|
||||
buildAddedToQueueEmbed(video, top = false, requester = null) {
|
||||
const rawAuthor = video.artist || (typeof video.author === "object" ? video.author?.name : video.author);
|
||||
const author = rawAuthor || this._t("responses.play.unknownAuthor");
|
||||
const trackUrl = video.spotifyUrl || video.url || null;
|
||||
const durationStr = this.getDuration(video.duration);
|
||||
|
||||
const queueCount = this.queue.size();
|
||||
let position = top ? 1 : queueCount;
|
||||
if (position <= 0) position = 1;
|
||||
|
||||
let waitMs = 0;
|
||||
const current = this.queue.getCurrent();
|
||||
if (current?.duration && this.startedPlaying) {
|
||||
const curTotal = this._getTrackDurationMs(current);
|
||||
let elapsed = Date.now() - this.startedPlaying;
|
||||
if (this._paused && this._pausedAt) {
|
||||
elapsed = this._pausedAt - this.startedPlaying;
|
||||
}
|
||||
waitMs += Math.max(0, curTotal - elapsed);
|
||||
}
|
||||
const upToIndex = top ? 0 : Math.max(0, this.queue.data.length - 1);
|
||||
for (let i = 0; i < upToIndex; i++) {
|
||||
waitMs += this._getTrackDurationMs(this.queue.data[i]);
|
||||
}
|
||||
|
||||
const waitStr = waitMs < 60_000
|
||||
? this._t("responses.play.estimatedWaitLessMinute")
|
||||
: this._t("responses.play.estimatedWaitMinutes", { minutes: Math.max(1, Math.round(waitMs / 60_000)) });
|
||||
|
||||
const posStr = position === 1
|
||||
? this._t("responses.play.positionNext")
|
||||
: this._t("responses.play.positionValue", { position });
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({
|
||||
name: `➕ ${this._t("responses.play.addedToQueue")}`,
|
||||
url: trackUrl || undefined
|
||||
})
|
||||
.setTitle(Utils.truncate(video.title || this._t("responses.play.unknownTrack"), 250))
|
||||
.setURL(trackUrl || undefined);
|
||||
|
||||
if (video.thumbnail) {
|
||||
embed.setThumbnail(video.thumbnail);
|
||||
}
|
||||
|
||||
embed.setDescription(`${this._t("responses.play.byAuthor", { author })}`);
|
||||
|
||||
embed.addFields(
|
||||
{ name: this._t("responses.play.position"), value: posStr, inline: true },
|
||||
{ name: this._t("responses.play.duration"), value: durationStr, inline: true },
|
||||
{ name: this._t("responses.play.estimatedWait"), value: waitStr, inline: true }
|
||||
);
|
||||
|
||||
const userReq = requester || video.requester || null;
|
||||
const reqText = userReq ? `${this._t("responses.play.requestedBy", { user: `<@${userReq}>` })} • ` : "";
|
||||
const pluralStr = queueCount === 1 ? this._t("responses.play.trackSingle") : this._t("responses.play.trackPlural");
|
||||
embed.setFooter({
|
||||
text: `${reqText}${this._t("responses.play.queueCount", { count: queueCount, plural: pluralStr })}`
|
||||
});
|
||||
|
||||
if (typeof embed.setTimestamp === "function") embed.setTimestamp();
|
||||
return embed;
|
||||
},
|
||||
|
||||
/**
|
||||
* Emit a now-playing announcement for the given track.
|
||||
* @this {import('./Player.mjs').Player}
|
||||
@@ -265,33 +407,63 @@ const DisplayMixin = {
|
||||
if (!s) return;
|
||||
if (this._destroyed || this.leaving || (!this._voiceConn && !this.connection)) return;
|
||||
|
||||
const prefix = this._getPrefix?.(this._guildId) ?? "%";
|
||||
|
||||
if (s.type === "radio") {
|
||||
this.emit("message", { embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this._t("responses.radio.nowPlaying", {
|
||||
title: Utils.escapeMarkdown(s.title),
|
||||
author: s.author?.name || "Unknown",
|
||||
url: s.author?.url || s.url || "",
|
||||
channel: this._channelId || "",
|
||||
}))] });
|
||||
return;
|
||||
}
|
||||
const author = s.artists
|
||||
? s.artists.map(a => a.url ? `[${a.name}](${a.url})` : a.name).join(" & ")
|
||||
: s.author?.url
|
||||
? `[${s.author.name}](${s.author.url})`
|
||||
: s.author?.name || null;
|
||||
|
||||
if (!author && (s.type === "external" || s.type === "stream")) {
|
||||
const desc = "🎵 Now playing [" + Utils.escapeMarkdown(s.title) + "](" + (s.url || "") + ") in <#" + (this._channelId || "") + ">";
|
||||
this.emit("message", { embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(desc)] });
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({ name: `📻 ${this._t("responses.play.autoNowPlaying")}` })
|
||||
.setTitle(Utils.truncate(s.title || this._t("responses.play.sourceRadio"), 250))
|
||||
.setURL(s.author?.url || s.url || undefined)
|
||||
.setDescription(`🎵 **${s.description || this._t("responses.play.liveBroadcast")}**\n\n🔊 <#${this._channelId}>`)
|
||||
.setFooter({ text: this._t("responses.play.controlsHint", { prefix }) });
|
||||
if (s.thumbnail) embed.setThumbnail(s.thumbnail);
|
||||
this.emit("message", { embeds: [embed] });
|
||||
return;
|
||||
}
|
||||
|
||||
this.emit("message", { embeds: [new EmbedBuilder().setColor(getGlobalColor()).setDescription(this._t("responses.play.nowPlaying", {
|
||||
title: Utils.escapeMarkdown(s.title),
|
||||
url: s.spotifyUrl || s.url,
|
||||
author: author || "Unknown",
|
||||
channel: this._channelId || "",
|
||||
}))] });
|
||||
const rawAuthor = s.artist || (typeof s.author === "object" ? s.author?.name : s.author);
|
||||
const author = rawAuthor || this._t("responses.play.unknownAuthor");
|
||||
const trackUrl = s.spotifyUrl || s.url || null;
|
||||
const durationStr = this.getDuration(s.duration);
|
||||
const nextTrack = this.queue.data?.[0]?.title ? Utils.truncate(this.queue.data[0].title, 35) : null;
|
||||
|
||||
let sourceIcon = "🎵";
|
||||
if (s.spotifyUrl || s.type === "spotify") {
|
||||
sourceIcon = "🟢";
|
||||
} else if (s.type === "soundcloud" || s.url?.includes("soundcloud.com")) {
|
||||
sourceIcon = "🟠";
|
||||
} else if (s.type === "youtube" || s.url?.includes("youtube.com") || s.url?.includes("youtu.be")) {
|
||||
sourceIcon = "▶️";
|
||||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(0xe9196c)
|
||||
.setAuthor({
|
||||
name: `${sourceIcon} ${this._t("responses.play.autoNowPlaying")}`,
|
||||
url: trackUrl || undefined
|
||||
})
|
||||
.setTitle(Utils.truncate(s.title || this._t("responses.play.unknownTrack"), 250))
|
||||
.setURL(trackUrl || undefined);
|
||||
|
||||
if (s.thumbnail) {
|
||||
embed.setThumbnail(s.thumbnail);
|
||||
}
|
||||
|
||||
let desc = `${this._t("responses.play.byAuthor", { author })} • \`${durationStr}\``;
|
||||
if (this._channelId) {
|
||||
desc += `\n🔊 <#${this._channelId}>`;
|
||||
}
|
||||
embed.setDescription(desc);
|
||||
|
||||
const footerParts = [];
|
||||
if (nextTrack) {
|
||||
footerParts.push(`${this._t("responses.play.upNext")}: ${nextTrack}`);
|
||||
}
|
||||
footerParts.push(this._t("responses.play.controlsHint", { prefix }));
|
||||
embed.setFooter({ text: footerParts.join(" • ") });
|
||||
|
||||
this.emit("message", { embeds: [embed] });
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
+20
-16
@@ -47,15 +47,18 @@ const HELP_TABS = [
|
||||
*/
|
||||
function _helpHomeContent(prefix) {
|
||||
return (
|
||||
"**Welcome to the Remix help page.**\n\n" +
|
||||
"Remix is an open-source music bot. It supports a variety of " +
|
||||
"streaming services and has many features.\n\n" +
|
||||
"We hope you enjoy using Remix!\n\n" +
|
||||
"To get started, just click on the reactions below to find out " +
|
||||
"more about the commands. In the case that reactions don't work " +
|
||||
"for you, there's also the possibility to look through them by " +
|
||||
`using \`${prefix}help <page number>\` :)\n\n` +
|
||||
`**Tip:** Click the tab emojis to switch sections.`
|
||||
"**Remix** is a high-fidelity 24/7 music bot supporting YouTube, Spotify, SoundCloud, Deezer, and more.\n\n" +
|
||||
"**✨ Core Highlights**\n" +
|
||||
"• **48kHz Hi-Fi Audio** — Crystal-clear audio stream pipeline\n" +
|
||||
"• **30+ Audio Filters** — Bassboost, 8D, Nightcore, Vaporwave, Equalizer\n" +
|
||||
"• **Dynamic Normalizer** — EBU R128 loudness leveling across music sources\n" +
|
||||
"• **24/7 Web Radio** — Over 30,000 global live radio stations\n\n" +
|
||||
"**📂 Command Categories**\n" +
|
||||
"🏠 • **Home** — Quick bot overview & status\n" +
|
||||
"🎵 • **Music** — Playback, queue, search, filters (`" + prefix + "play`, `" + prefix + "skip`, `" + prefix + "queue`)\n" +
|
||||
"🔧 • **Utility** — Settings, 24/7 voice, ping, vote (`" + prefix + "settings`, `" + prefix + "ping`)\n" +
|
||||
"ℹ️ • **Support** — Community server & assistance\n\n" +
|
||||
"💡 **Tip:** Click the tab emojis below to switch sections, or use `" + prefix + "help <command>` for detailed info."
|
||||
);
|
||||
}
|
||||
|
||||
@@ -65,12 +68,13 @@ function _helpHomeContent(prefix) {
|
||||
*/
|
||||
function _helpSupportContent() {
|
||||
return (
|
||||
"If you need help with anything or encounter any issues, hop over to " +
|
||||
"our support server **[Remix HQ](https://fluxer.gg/remix)**!\n" +
|
||||
"Alternatively, you can write a dm to any of the following people:\n\n" +
|
||||
"- **Fantic** (Community Manager)\n" +
|
||||
"- **Shadow** (Lead Developer)\n" +
|
||||
"- **NoLogicAlan** (Lead Developer)"
|
||||
"Need help, want to report a bug, or suggest new features?\n\n" +
|
||||
"💬 **[Join Remix Support Server](https://fluxer.gg/remix)**\n\n" +
|
||||
"**Team & Maintainers:**\n" +
|
||||
"• **Fantic** — Community Manager\n" +
|
||||
"• **Shadow** — Lead Developer\n" +
|
||||
"• **NoLogicAlan** — Lead Developer\n\n" +
|
||||
"You can also use `%invite` to add Remix to your server."
|
||||
);
|
||||
}
|
||||
|
||||
@@ -97,7 +101,7 @@ function _helpBuildCategoryPages(tab, allCmds, prefix) {
|
||||
let page = "";
|
||||
slice.forEach((cmd, j) => {
|
||||
const d = (cmd.description || "No description.").split("\n")[0];
|
||||
page += `${i + j + 1}. **${cmd.name}**: ${d}\n`;
|
||||
page += `\`${prefix}${cmd.name}\` — ${d}\n`;
|
||||
});
|
||||
page += `\nTo learn more about a command, run \`${prefix}help <command name>\`!`;
|
||||
if (cmds.length > HELP_CMDS_PER_PAGE)
|
||||
|
||||
+223
-71
@@ -33,7 +33,9 @@
|
||||
"aliasesLabel": "الأسماء البديلة: ",
|
||||
"requirements": "المتطلبات: ",
|
||||
"permission": "الصلاحية `{{$permission}}`",
|
||||
"optionCount": "{{$count}} خيار/خيارات"
|
||||
"optionCount": "{{$count}} خيار/خيارات",
|
||||
"commandInspectorAuthor": "مساعدة الأمر • {{prefix}}{{name}}",
|
||||
"commandInspectorFooter": "اكتب {{prefix}}help لعرض القائمة الكاملة • الفئة: {{category}}"
|
||||
},
|
||||
"invalidFlag": "علامة غير صالحة `$invalidFlag`. لا تتطابق مع أي خيار لهذا الأمر.\n`$previousCmd $invalidFlag`",
|
||||
"page": {
|
||||
@@ -245,7 +247,9 @@
|
||||
"joinFailedNotFound": "❌ لم يتم العثور على تلك القناة الصوتية."
|
||||
},
|
||||
"clear": {
|
||||
"cleared": "🗑️ تم مسح قائمة الانتظار."
|
||||
"cleared": "🗑️ تم مسح قائمة الانتظار.",
|
||||
"clearedTitle": "تم تفريغ قائمة الانتظار",
|
||||
"clearedSummary": "تمت إزالة {{count}} {{plural}} من القائمة"
|
||||
},
|
||||
"debug": {
|
||||
"voiceTitle": "🔧 تصحيح الصوت",
|
||||
@@ -282,7 +286,10 @@
|
||||
"pickerClosed": "👋 تم إغلاق أداة اختيار الفلاتر.",
|
||||
"footer": "صفحة {{page}}/{{total}} • تفاعل مع رمز تعبيري للفلتر للتبديل",
|
||||
"activeLabel": "**← نشط**",
|
||||
"closeHint": "❌ إغلاق"
|
||||
"closeHint": "❌ إغلاق",
|
||||
"activePrefix": "مفعّل:",
|
||||
"realtimeDsp": "معالجة صوتية فورية",
|
||||
"navHint": "تفاعل بالإيموجي للتبديل • ❌ للإغلاق"
|
||||
},
|
||||
"forceleave": {
|
||||
"channelNotFound": "❌ القناة غير موجودة.",
|
||||
@@ -306,7 +313,14 @@
|
||||
"autoLeaveInactive": "غادرت القناة <#{{channel}}> بسبب عدم النشاط.",
|
||||
"autoLeaveInactive247": "غادرت القناة <#{{channel}}> بسبب عدم النشاط.\nإذا كنت تريدني أن أبقى في الصوت، استخدم `{{prefix}}247 on/auto`\nاستخدم `{{prefix}}247` لعرض جميع القنوات المحفوظة وإدارتها.",
|
||||
"joinFailedPerms": "❌ ليس لدي إذن للانضمام إلى <#{{channel}}>. يرجى التأكد من أن لدي إذن **الاتصال**.",
|
||||
"voiceChannelUnknown": "قناة صوتية غير معروفة"
|
||||
"voiceChannelUnknown": "قناة صوتية غير معروفة",
|
||||
"sessionStartedTitle": "تم الاتصال بالجلسة الصوتية",
|
||||
"joinedChannel": "متصل بـ {{channel}}",
|
||||
"connectedBadge": "متصل",
|
||||
"connectedAuthor": "🟢 متصل بالقناة الصوتية",
|
||||
"selectVCAuthor": "🔊 اختر قناة صوتية",
|
||||
"selectVCFooter": "تفاعل برقم 1-9 للاتصال • تنتهي الجلسة خلال 30 ثانية",
|
||||
"playPromptFooter": "شغّل الموسيقى في أي وقت باستخدام {{prefix}}play <song>"
|
||||
},
|
||||
"leave": {
|
||||
"noVoiceChannel": "⚠️ يرجى الانضمام إلى قناة صوتية أولاً، أو حدد واحدة: `{{prefix}}leave <#channel>`",
|
||||
@@ -319,7 +333,12 @@
|
||||
"left": "✅ تم المغادرة بنجاح",
|
||||
"leftRejoin247": "✅ تم المغادرة بنجاح — سأعيد الانضمام إلى <#{{channel}}> خلال بضع ثوانٍ.\nلتعطيل وضع 24/7 بشكل دائم، استخدم `{{prefix}}247 off`.",
|
||||
"left247On": "✅ تم المغادرة بنجاح.\nوضع 24/7 **مفعّل** — لن يعود البوت تلقائياً. استخدم `{{prefix}}play` لإعادته، أو `{{prefix}}247 off` لتعطيله بالكامل.\nاستخدم `{{prefix}}247` لعرض جميع القنوات المحفوظة.",
|
||||
"autoRejoinHint": "⚠️ وضع 24/7 مفعّل (تلقائي) — سأعيد الانضمام إلى <#{{channel}}> خلال بضع ثوانٍ.\nلتتمكن من إزالتي بشكل دائم، عطّل وضع 24/7 أولاً: `{{prefix}}247 off`"
|
||||
"autoRejoinHint": "⚠️ وضع 24/7 مفعّل (تلقائي) — سأعيد الانضمام إلى <#{{channel}}> خلال بضع ثوانٍ.\nلتتمكن من إزالتي بشكل دائم، عطّل وضع 24/7 أولاً: `{{prefix}}247 off`",
|
||||
"sessionEndedTitle": "انتهت الجلسة الصوتية",
|
||||
"leftChannel": "تمت مغادرة {{channel}}",
|
||||
"disconnectedBadge": "تم قطع الاتصال",
|
||||
"queueCleared": "تم تفريغ القائمة",
|
||||
"rejoinHint": "انضم في أي وقت بـ {{prefix}}join أو {{prefix}}play"
|
||||
},
|
||||
"list": {
|
||||
"empty": "📭 قائمة الانتظار فارغة. استخدم `{{prefix}}play` لإضافة أغاني!",
|
||||
@@ -327,7 +346,11 @@
|
||||
"nowPlaying": "🎵 **يعمل حالياً**",
|
||||
"header": "📋 **{{count}} مقطع في قائمة الانتظار** • ⏱️ `{{time}}`",
|
||||
"upNext": " ▶",
|
||||
"queueTitle": "🎧 قائمة الانتظار"
|
||||
"queueTitle": "🎧 قائمة الانتظار",
|
||||
"tracksCount": "{{count}} {{plural}} في قائمة الانتظار",
|
||||
"nowPlayingHeader": "يتم تشغيله الآن",
|
||||
"upNextHeader": "التالي",
|
||||
"pageFooter": "صفحة {{page}}/{{totalPages}} • التكرار: {{loopState}}"
|
||||
},
|
||||
"queue": {
|
||||
"empty": "قائمة الانتظار فارغة.",
|
||||
@@ -343,7 +366,14 @@
|
||||
"songActivated": "🔂 تم تفعيل تكرار الأغنية",
|
||||
"songDisabled": "➡️ تم تعطيل تكرار الأغنية",
|
||||
"queueActivated": "🔁 تم تفعيل تكرار القائمة",
|
||||
"queueDisabled": "➡️ تم تعطيل تكرار القائمة"
|
||||
"queueDisabled": "➡️ تم تعطيل تكرار القائمة",
|
||||
"loopTitle": "تم تحديث وضع التكرار",
|
||||
"songLoopDesc": "يتم تكرار المقطع الحالي",
|
||||
"queueLoopDesc": "يتم تكرار قائمة الانتظار بأكملها",
|
||||
"loopOffDesc": "التكرار معطّل",
|
||||
"songLoopBadge": "تكرار مقطع واحد",
|
||||
"queueLoopBadge": "تكرار القائمة",
|
||||
"loopOffBadge": "التكرار معطّل"
|
||||
},
|
||||
"lyrics": {
|
||||
"nothingPlaying": "❌ لا يوجد شيء يعمل حالياً.",
|
||||
@@ -370,14 +400,22 @@
|
||||
"pause": {
|
||||
"nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!",
|
||||
"alreadyPaused": "❌ متوقف بالفعل!",
|
||||
"paused": "⏸️ تم الإيقاف المؤقت"
|
||||
"paused": "⏸️ تم الإيقاف المؤقت",
|
||||
"pausedTitle": "تم إيقاف التشغيل مؤقتًا",
|
||||
"pausedAt": "توقف مؤقتًا عند {{time}}",
|
||||
"resumeHint": "اكتب {{prefix}}resume للمتابعة"
|
||||
},
|
||||
"ping": {
|
||||
"title": "🏓 Pong!",
|
||||
"measuring": "🏓 جارٍ قياس البينغ...",
|
||||
"roundtrip": "📶 **زمن الاستجابة**",
|
||||
"gateway": "🌐 **البوابة**",
|
||||
"node": "🎧 **NodeLink**"
|
||||
"node": "🎧 **NodeLink**",
|
||||
"pingDashboard": "صحة الشبكة وعقدة الصوت",
|
||||
"operational": "تعمل بشكل ممتاز",
|
||||
"restApi": "واجهة برمجة التطبيقات REST",
|
||||
"gatewayWs": "بوابة WebSocket",
|
||||
"audioNode": "عقدة الصوت"
|
||||
},
|
||||
"play": {
|
||||
"searching": "🔍 جارٍ البحث...",
|
||||
@@ -386,6 +424,30 @@
|
||||
"added": "تمت إضافة [{{title}}]({{url}}) إلى قائمة الانتظار بنجاح.",
|
||||
"addedPlaylist": "تمت إضافة **{{count}}** أغنية إلى قائمة الانتظار بنجاح.",
|
||||
"nowPlaying": "🎵 يعمل الآن [{{title}}]({{url}}) لـ {{author}} في <#{{channel}}>",
|
||||
"addedToQueue": "تمت الإضافة إلى القائمة",
|
||||
"position": "الترتيب",
|
||||
"positionValue": "#{{position}} في القائمة",
|
||||
"positionNext": "التالي مباشرة",
|
||||
"duration": "المدة",
|
||||
"estimatedWait": "الوقت المتوقع للبدء",
|
||||
"estimatedWaitMinutes": "~{{minutes}} دقيقة",
|
||||
"estimatedWaitLessMinute": "أقل من دقيقة",
|
||||
"requestedBy": "طلب بواسطة {{user}}",
|
||||
"queueCount": "القائمة: {{count}} {{plural}}",
|
||||
"trackSingle": "مسار",
|
||||
"trackPlural": "مسارات",
|
||||
"autoNowPlaying": "تشغيل الآن",
|
||||
"byAuthor": "لـ {{author}}",
|
||||
"upNext": "التالي",
|
||||
"controlsHint": "اكتب {{prefix}}np للتحكم بالتشغيل",
|
||||
"queueEndedTitle": "انتهت قائمة الانتظار",
|
||||
"queueEndedHeading": "انتهت جميع المسارات!",
|
||||
"queueEndedBody": "لا توجد أغانٍ متبقية في القائمة. أضف المزيد عبر `{{prefix}}play <song>` أو واصل الاستماع!",
|
||||
"radioSuggestionTitle": "راديو 24/7",
|
||||
"radioSuggestionDesc": "جرب `{{prefix}}radio` لمحطات مستمرة",
|
||||
"autoplaySuggestionTitle": "التشغيل التلقائي",
|
||||
"autoplaySuggestionDesc": "اكتب `{{prefix}}autoplay` لاقتراحات غير منتهية",
|
||||
"voiceSessionPaused": "جلسة الصوت متوقفة مؤقتاً",
|
||||
"noResults": "**لم يتم العثور على نتائج لـ '{{query}}'.**",
|
||||
"searchFailed": "**فشل البحث. يرجى المحاولة مرة أخرى.**",
|
||||
"noData": "لم يتم تحميل المقطع — لم يتم إرجاع بيانات.",
|
||||
@@ -396,10 +458,34 @@
|
||||
"bilibiliResolving": "📺 جارٍ تحليل فيديو Bilibili...",
|
||||
"bilibiliNoAudio": "❌ لا يوجد صوت قابل للتشغيل لـ **{{title}}** — قد يكون الفيديو مقفلًا جغرافيًا أو مدفوعًا أو محذوفًا.",
|
||||
"bilibiliError": "❌ Bilibili: {{message}}",
|
||||
"bilibiliDisabled": "❌ تشغيل Bilibili معطل (config.json → bilibili.enabled)."
|
||||
"bilibiliDisabled": "❌ تشغيل Bilibili معطل (config.json → bilibili.enabled).",
|
||||
"sourceRadio": "راديو 24/7",
|
||||
"sourceMusic": "موسيقى",
|
||||
"station": "المحطة",
|
||||
"channel": "القناة",
|
||||
"artist": "الفنان",
|
||||
"modeVol": "الوضع / الصوت",
|
||||
"volume": "مستوى الصوت",
|
||||
"liveBroadcast": "بث مباشر",
|
||||
"customCut": "قص مخصص",
|
||||
"unknownAuthor": "فنان غير معروف",
|
||||
"unknownTrack": "مقطع غير معروف",
|
||||
"endOfQueue": "نهاية القائمة",
|
||||
"none": "لا يوجد",
|
||||
"on": "مفعّل",
|
||||
"off": "معطّل",
|
||||
"nowPlayingFooter": "القائمة: {{count}} {{plural}} ({{remaining}}) • التالي: {{next}}",
|
||||
"nowPlayingFooterEmpty": "القائمة: فارغة • التشغيل التلقائي: {{autoplay}}",
|
||||
"loopSongLabel": "المقطع",
|
||||
"loopQueueLabel": "القائمة",
|
||||
"loopOffLabel": "معطّل",
|
||||
"sourceSpotify": "سبوتيفاي",
|
||||
"sourceSoundcloud": "ساوندكلاود",
|
||||
"sourceYoutube": "يوتيوب"
|
||||
},
|
||||
"playnext": {
|
||||
"searching": "🔍 جارٍ البحث..."
|
||||
"searching": "🔍 جارٍ البحث...",
|
||||
"playingNext": "⚡ التشغيل التالي • أول قائمة الانتظار (#1)"
|
||||
},
|
||||
"player": {
|
||||
"title": "🎧 عناصر التحكم بالمشغّل",
|
||||
@@ -453,7 +539,8 @@
|
||||
"unknownStation": "❌ محطة غير معروفة `{{station}}`. المتاحة: {{stations}}\n\nاستخدم `$prefixradio list` للتصفح.",
|
||||
"nowPlaying": "📻 بث مباشر _{{title}}_ لـ [{{author}}]({{url}}) في <#{{channel}}>",
|
||||
"skipHint": "_استخدم `$prefixskip` لإيقاف الإذاعة، أو `$prefixradio list` لتبديل المحطات._",
|
||||
"prevNext": "⬅️ السابق ➡️ التالي ❌ إلغاء"
|
||||
"prevNext": "⬅️ السابق ➡️ التالي ❌ إلغاء",
|
||||
"stationsAuthor": "دليل محطات الراديو 24/7"
|
||||
},
|
||||
"reload": {
|
||||
"indexNoReload": "❌ لا يمكن إعادة تحميل `index.mjs` — قم بإعادة تشغيل كاملة.",
|
||||
@@ -470,12 +557,20 @@
|
||||
},
|
||||
"remove": {
|
||||
"indexOutOfBounds": "الفهرس خارج النطاق",
|
||||
"removed": "تمت إزالة **{{title}}** من قائمة الانتظار بنجاح."
|
||||
"removed": "تمت إزالة **{{title}}** من قائمة الانتظار بنجاح.",
|
||||
"removedAuthor": "🗑️ تمت الإزالة من قائمة الانتظار",
|
||||
"removedSingleDesc": "تمت إزالة المسار في المركز **#{{position}}** من قائمة الانتظار.",
|
||||
"removedRangeTitle": "تمت إزالة {{count}} مسارات",
|
||||
"removedRangeDesc": "تمت إزالة المراكز من **#{{from}}** إلى **#{{to}}** بنجاح من قائمة الانتظار.",
|
||||
"remainingFooter": "متبقي {{count}} مسار في قائمة الانتظار • {{prefix}}list"
|
||||
},
|
||||
"resume": {
|
||||
"nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!",
|
||||
"notPaused": "❌ غير متوقف!",
|
||||
"resumed": "▶️ تم الاستئناف"
|
||||
"resumed": "▶️ تم الاستئناف",
|
||||
"resumedTitle": "تم استئناف التشغيل",
|
||||
"resumedAt": "تم الاستئناف عند {{time}}",
|
||||
"pauseHint": "اكتب {{prefix}}pause للإيقاف المؤقت"
|
||||
},
|
||||
"search": {
|
||||
"loadingResults": "⏳ جارٍ تحميل النتائج...",
|
||||
@@ -486,7 +581,8 @@
|
||||
"cancelled": "❌ تم الإلغاء.",
|
||||
"added": "✅ تمت إضافة [{{title}}]({{url}}) إلى قائمة الانتظار!",
|
||||
"timedOut": "⏰ انتهت مهلة البحث.",
|
||||
"sessionClosed": "تم إغلاق الجلسة"
|
||||
"sessionClosed": "تم إغلاق الجلسة",
|
||||
"cancelOption": "إلغاء"
|
||||
},
|
||||
"servers": {
|
||||
"noServers": "_لم يتم العثور على خوادم._",
|
||||
@@ -552,54 +648,36 @@
|
||||
"channelsLabelPlural": "{{count}} قنوات",
|
||||
"thisServer": "هذا الخادم",
|
||||
"247Panel": {
|
||||
"title": "♾️ وضع 24/7",
|
||||
"noChannelsSaved": "لا توجد قنوات صوتية محفوظة.",
|
||||
"gettingStarted": "البدء",
|
||||
"gettingStartedValue": "• `{{prefix}}247 on` — البقاء بشكل دائم\n• `{{prefix}}247 auto` — البقاء + إعادة الانضمام تلقائياً بعد قطع الاتصال",
|
||||
"footer": "{{prefix}}247 على | {{prefix}}247 تلقائي | {{prefix}}247 إيقاف",
|
||||
"channelsSaved_one": "قناة {{count}} محفوظة",
|
||||
"channelsSaved_other": "{{count}} قنوات محفوظة",
|
||||
"summaryOn": "✅ {{count}} مفعّل",
|
||||
"summaryAuto": "🔄 {{count}} تلقائي",
|
||||
"modeOn": "✅ مفعّل",
|
||||
"modeAuto": "🔄 تلقائي",
|
||||
"modeOff": "❌ معطّل",
|
||||
"enabledTitle": "♾️ 24/7 {{mode}}",
|
||||
"enabledDescription": "{{channel}} ← **{{mode}}** — {{summary}}",
|
||||
"enabledFooter": "{{prefix}}247 off لتعطيل قناة",
|
||||
"savedChannels": "القنوات المحفوظة",
|
||||
"currentMarker": " ←",
|
||||
"disabledTitle": "♾️ 24/7 معطّل",
|
||||
"noChannelsSavedField": "لا توجد قنوات محفوظة",
|
||||
"allChannelsRemoved": "تمت إزالة جميع قنوات 24/7. سيغادر البوت الصوت بعد عدم النشاط.",
|
||||
"channelRemoved": "<#{{channel}}> تمت إزالتها",
|
||||
"channelsRemaining_one": "قناة {{count}} متبقية",
|
||||
"channelsRemaining_other": "{{count}} قنوات متبقية",
|
||||
"reenableFooter": "{{prefix}}247 on | {{prefix}}247 auto لإعادة التفعيل",
|
||||
"allChannelsLabel": "❌ جميع القنوات",
|
||||
"allChannelsDisabled": "وضع 24/7 **معطّل** لجميع القنوات في هذا الخادم.\nسيغادر البوت الصوت بعد عدم النشاط.",
|
||||
"noChannelsSavedShort": "لا توجد قنوات محفوظة",
|
||||
"joinFailed": "⚠️ تم حفظ 24/7 {{mode}}، لكن فشل الانضمام إلى <#{{channel}}>.\nخطأ: `{{error}}`\n\nجرّب `{{prefix}}join` أو `{{prefix}}play` لاحقاً.",
|
||||
"statusConnected": "🟢 متصل",
|
||||
"statusReconnecting": "🟡 يعيد الاتصال",
|
||||
"statusOffline": "🔴 غير متصل",
|
||||
"autoRecoveryLine": "♻️ الاسترداد التلقائي مُفعّل — يتم فحص القنوات المحفوظة كل {{seconds}} ثانية",
|
||||
"autoRecoveryDisabledLine": "♻️ الاسترداد التلقائي في وضع الاستعداد",
|
||||
"enabledLine": "✅ وضع 24/7 **مُفعّل** — يبقى البوت متصلاً ويعود تلقائياً إذا انقطع الاتصال.",
|
||||
"disabledHint": "انضم إلى قناة صوتية واستخدم `{{prefix}}247` للتفعيل.",
|
||||
"footerLine": "{{prefix}}247 · تبديل · {{prefix}}247 off · تعطيل الكل",
|
||||
"confirmEnabled": "✅ تم تفعيل 24/7 في {{channel}} — سيبقى البوت متصلاً وسيعود تلقائياً إذا انقطع الاتصال.",
|
||||
"confirmDisabled": "❌ تم تعطيل 24/7 في {{channel}} — سيغادر البوت القناة عند الخمول.",
|
||||
"confirmDisabledAll": "❌ تم تعطيل 24/7 لجميع القنوات في هذا الخادم — سيغادر البوت القنوات عند الخمول.",
|
||||
"disabledLine": "❌ وضع 24/7 **مُعطّل**",
|
||||
"activeChannels_one": "✅ 24/7 نشط في {{count}} قناة:",
|
||||
"activeChannels_other": "✅ 24/7 نشط في {{count}} قناة:"
|
||||
"watchdogAuthor": "📻 مراقب الصوت المستمر 24/7",
|
||||
"watchdogTitle": "نظام الصوت الدائم",
|
||||
"watchdogFieldRecovery": "الاسترداد التلقائي",
|
||||
"watchdogFieldInactivity": "مغادرة الخمول",
|
||||
"watchdogRecoveryArmed": "جاهز (مسح كل {{seconds}} ثانية)",
|
||||
"watchdogInactivitySuppressed": "مُعطّل (وضع 24/7)",
|
||||
"watchdogStatusMonitoring": "قيد المراقبة",
|
||||
"watchdogStatusStandby": "في وضع الاستعداد",
|
||||
"watchdogFooter": "بدّل الوضع بـ {{prefix}}247 on أو {{prefix}}247 off • المراقبة نشطة"
|
||||
},
|
||||
"max247Channels": "يمكنك حفظ ما يصل إلى {{max}} قنوات صوتية 24/7 في خادم واحد. استخدم `{{prefix}}247 off` في إحدى القنوات المحفوظة أولاً."
|
||||
"max247Channels": "يمكنك حفظ ما يصل إلى {{max}} قنوات صوتية 24/7 في خادم واحد. استخدم `{{prefix}}247 off` في إحدى القنوات المحفوظة أولاً.",
|
||||
"categoryGeneral": "🌐 عام والتوطين",
|
||||
"categoryAudio": "🔊 الصوت والتشغيل",
|
||||
"categoryVoice247": "📻 اتصال صوتي 24/7",
|
||||
"dashboardTitle": "⚙️ لوحة التحكم في السيرفر",
|
||||
"dashboardFooter": "غيّر الإعدادات بواسطة {{prefix}}settings set <key> <val> • {{prefix}}settings help",
|
||||
"statusActive247": "نشط 24/7",
|
||||
"statusActiveChannel": "نشط ({{channel}})",
|
||||
"statusActiveChannels": "نشط ({{count}} قنوات)",
|
||||
"inspectorTitle": "⚙️ فاحص الإعدادات",
|
||||
"settingValueField": "القيمة الحالية",
|
||||
"settingDescField": "الوصف",
|
||||
"inspectorFooter": "استخدم {{prefix}}settings set {{setting}} <val> للتعديل"
|
||||
},
|
||||
"shuffle": {
|
||||
"emptyQueue": "لا يوجد شيء لخلطه في قائمة الانتظار.",
|
||||
"shuffled": "🔀 تم خلط قائمة الانتظار"
|
||||
"shuffled": "🔀 تم خلط قائمة الانتظار",
|
||||
"shuffledTitle": "تم خلط قائمة الانتظار",
|
||||
"shuffledSummary": "تمت إعادة ترتيب {{count}} {{plural}} عشوائيًا",
|
||||
"newUpNext": "المقطع #1 الجديد التالي"
|
||||
},
|
||||
"skip": {
|
||||
"nothingPlaying": "❌ لا يوجد شيء يعمل حالياً!",
|
||||
@@ -607,7 +685,11 @@
|
||||
"skippedTrack": "⏭️ تم تخطي [{{title}}]({{url}})",
|
||||
"skippedToPosition": "⏭️ تم التخطي إلى الموضع {{position}}",
|
||||
"voteAdded": "🗳️ التصويت للتخطي: **{{votes}}/{{needed}}**. نفّذ الأمر مرة أخرى لإضافة صوتك!",
|
||||
"alreadyVoted": "🗳️ لقد صوّت بالفعل للتخطي! **{{votes}}/{{needed}}** صوت حتى الآن."
|
||||
"alreadyVoted": "🗳️ لقد صوّت بالفعل للتخطي! **{{votes}}/{{needed}}** صوت حتى الآن.",
|
||||
"skippedTitle": "تم تخطي المقطع",
|
||||
"skippedAt": "تم التخطي عند {{time}}",
|
||||
"upNext": "التالي",
|
||||
"queueRemaining": "{{count}} {{plural}} في قائمة الانتظار"
|
||||
},
|
||||
"stats": {
|
||||
"title": "بوت Remix الموسيقي",
|
||||
@@ -646,13 +728,20 @@
|
||||
"thumbnail": {
|
||||
"nothingPlaying": "لا يوجد شيء يعمل حالياً.",
|
||||
"noThumbnail": "لا تتوفر صورة مصغرة.",
|
||||
"thumbnail": "الصورة المصغرة لـ [{{title}}]({{url}}):"
|
||||
"thumbnail": "الصورة المصغرة لـ [{{title}}]({{url}}):",
|
||||
"thumbTitle": "غلاف الألبوم",
|
||||
"highRes": "دقة عالية",
|
||||
"noArtwork": "❌ لا يتوفر غلاف لهذا المقطع.",
|
||||
"expandHint": "اضغط على الصورة للتكبير"
|
||||
},
|
||||
"volume": {
|
||||
"current": "🔊 مستوى الصوت الحالي: `{{volume}}%`",
|
||||
"outOfRange": "❌ يجب أن يكون مستوى الصوت بين `0` و `{{max}}%`.",
|
||||
"changed": "🔊 تم تغيير مستوى الصوت إلى `{{volume}}%` لهذه الجلسة.",
|
||||
"setPending": "تم تعيين مستوى الصوت إلى `{{volume}}%` — سيتم تطبيقه عند الاتصال."
|
||||
"setPending": "تم تعيين مستوى الصوت إلى `{{volume}}%` — سيتم تطبيقه عند الاتصال.",
|
||||
"volumeAdjusted": "تم تعديل مستوى الصوت",
|
||||
"currentVolume": "مستوى الصوت الحالي",
|
||||
"volumeHint": "استخدم {{prefix}}volume <0-150>"
|
||||
},
|
||||
"volumedefault": {
|
||||
"title": "🔊 إعدادات الصوت",
|
||||
@@ -662,7 +751,12 @@
|
||||
"noPermission": "⚠️ تحتاج إذن **إدارة الخادم** لتغيير الافتراضي.",
|
||||
"noPermissionSet": "❌ تحتاج إذن **إدارة الخادم** لتعيين مستوى الصوت الافتراضي للخادم.",
|
||||
"outOfRange": "❌ يجب أن يكون مستوى الصوت بين `0` و `{{max}}%`.",
|
||||
"saved": "🔊 تم حفظ مستوى الصوت الافتراضي للخادم كـ `{{volume}}%`."
|
||||
"saved": "🔊 تم حفظ مستوى الصوت الافتراضي للخادم كـ `{{volume}}%`.",
|
||||
"author": "🔊 مستوى الصوت الافتراضي للخادم",
|
||||
"fieldDefault": "مستوى الصوت الافتراضي",
|
||||
"fieldActive": "مستوى صوت الجلسة الحالية",
|
||||
"authorSaved": "🔊 تم حفظ مستوى الصوت الافتراضي للخادم",
|
||||
"fieldNewDefault": "المستوى الافتراضي الجديد"
|
||||
},
|
||||
"gateway": {
|
||||
"missingPermsFallback": "⚠️ تنقصني صلاحيات أحتاجها للعمل بشكل صحيح! المفقودة: **{{perms}}**. يرجى طلب مسؤول الخادم منح هذه الصلاحيات في إعدادات الخادم ← الأدوار."
|
||||
@@ -771,7 +865,26 @@
|
||||
"noArtistTags": "🏷️ لا توجد وسوم للفنان **{{artist}}**.",
|
||||
"artistTagsTitle": "🏷️ وسوم أعلى لـ {{artist}}",
|
||||
"listeners": "مستمع",
|
||||
"leaderboardYourRank": "📍 ترتيبك: **#{{rank}}** ({{count}} سكرابل)"
|
||||
"leaderboardYourRank": "📍 ترتيبك: **#{{rank}}** ({{count}} سكرابل)",
|
||||
"crownHolder": "👑 حامل التاج (#1)",
|
||||
"serverLeaderboardAuthor": "👑 لوحة متصدري الموسيقى في الخادم",
|
||||
"trackLeaderboardAuthor": "👑 لوحة متصدري المسار في الخادم",
|
||||
"albumLeaderboardAuthor": "👑 لوحة متصدري الألبوم في الخادم",
|
||||
"profileAuthor": "👤 بطاقة ملف Last.fm",
|
||||
"profileFieldTotalScrobbles": "إجمالي السكربلات",
|
||||
"profileFieldScrobbling": "السكربلة التلقائية",
|
||||
"profileFieldArtists": "الفنانين المستكشفين",
|
||||
"profileFieldRegistered": "عضو منذ",
|
||||
"profileFooterPro": "بدّل السكربلة التلقائية: {{prefix}}lastfm scrobble • {{prefix}}lastfm top",
|
||||
"artistSpotlightAuthor": "🎤 تسليط الضوء على الفنان",
|
||||
"artistFieldListeners": "المستمعون",
|
||||
"artistFieldPlays": "التشغيلات العالمية",
|
||||
"artistFieldUserPlays": "تشغيلاتك",
|
||||
"artistFieldSimilar": "فنانون مشابهون",
|
||||
"artistFieldTags": "الأنواع والوسوم",
|
||||
"artistFooterPro": "لوحة المتصدرين بالسيرفر: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums",
|
||||
"coverAuthor": "🖼️ معرض غلاف الألبوم",
|
||||
"coverFooterPro": "عرض مصغرة الأغنية: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo"
|
||||
},
|
||||
"messages": {
|
||||
"missingCriticalPermsTitle": "صلاحيات مفقودة — البوت لا يستطيع العمل بشكل صحيح",
|
||||
@@ -818,11 +931,18 @@
|
||||
"exceedsDuration": "❌ موضع الانتقال يتجاوز مدة المقطع (**{{duration}}**).",
|
||||
"seeked": "⏩ تم الانتقال إلى **{{position}}**",
|
||||
"notSupported": "❌ الانتقال غير مدعوم من عقدة الصوت الحالية.",
|
||||
"failed": "❌ فشل الانتقال: {{error}}"
|
||||
"failed": "❌ فشل الانتقال: {{error}}",
|
||||
"seekTitle": "تم الانتقال للموضع",
|
||||
"seekSubtitle": "{{position}} / {{duration}}"
|
||||
},
|
||||
"autoplay": {
|
||||
"enabled": "🔁 التشغيل التلقائي **مفعّل** — سيتم إضافة مقاطع مشابهة تلقائياً عند انتهاء القائمة.",
|
||||
"disabled": "➡️ التشغيل التلقائي **معطّل** — سيتوقف البوت عند انتهاء القائمة."
|
||||
"disabled": "➡️ التشغيل التلقائي **معطّل** — سيتوقف البوت عند انتهاء القائمة.",
|
||||
"autoplayTitleEnabled": "تم تفعيل التشغيل التلقائي اللانهائي",
|
||||
"autoplayTitleDisabled": "تم تعطيل التشغيل التلقائي",
|
||||
"autoplayDescEnabled": "سيقوم Remix تلقائيًا بإضافة مقاطع مقترحة عند انتهاء القائمة.",
|
||||
"autoplayDescDisabled": "تم إيقاف التشغيل التلقائي. سيتوقف الصوت عند انتهاء القائمة.",
|
||||
"autoplayEngine": "المحرك: YouTube Mix + Last.fm"
|
||||
},
|
||||
"trackopt": {
|
||||
"notAvailable": "❌ ميزة خيارات المقطع غير متاحة.",
|
||||
@@ -850,30 +970,62 @@
|
||||
"listEmpty": "📭 ليس لديك خيارات مسار محفوظة. استخدم `{{prefix}}trackopt set <start> [end]` لإضافة واحدة!",
|
||||
"listTitle": "📋 **خيارات المسار الخاصة بك** ({{count}})",
|
||||
"listEntry": "• **{{title}}** — {{start}} → {{end}}",
|
||||
"listHint": "استخدم `{{prefix}}trackopt play <alias>` لتطبيق تقصير مسمى، أو `{{prefix}}trackopt remove [alias]` لحذف واحد."
|
||||
"listHint": "استخدم `{{prefix}}trackopt play <alias>` لتطبيق تقصير مسمى، أو `{{prefix}}trackopt remove [alias]` لحذف واحد.",
|
||||
"savedAuthor": "✂️ تم حفظ اقتطاع المسار المخصص",
|
||||
"playbackWindowField": "نافذة التشغيل",
|
||||
"aliasField": "الاسم المستعار",
|
||||
"activeTrimField": "الاقتطاع النشط",
|
||||
"playHintFooter": "شغّل هذا المقطع في أي وقت باستخدام: {{prefix}}trackopt play {{alias}}",
|
||||
"savedListAuthor": "✂️ اقتطاعات المسار المحفوظة",
|
||||
"trimProfilesFooter": "تم حفظ {{count}} ملف اقتطاع • طبّق باستخدام {{prefix}}trackopt play <alias>",
|
||||
"appliedAuthor": "✂️ تم تطبيق اقتطاع المسار",
|
||||
"activeCutRangeField": "نطاق الاقتطاع النشط"
|
||||
},
|
||||
"normalize": {
|
||||
"statusEnabled": "🔊 تسوية الصوت الديناميكية (ReplayGain) **مفعلة** حالياً لهذا الخادم.",
|
||||
"statusDisabled": "🔇 تسوية الصوت الديناميكية (ReplayGain) **معطلة** حالياً لهذا الخادم.",
|
||||
"info": "عند التفعيل، تتم تسوية مستوى الصوت ديناميكياً وفق المعيار الدولي -14 LUFS لتشغيل الأغاني الهادئة ومقاطع الساوند كلاود الصاخبة بمستوى استماع متوازن.",
|
||||
"trackInfo": "معلومات المقطع الحالي:\n• المصدر: `{{source}}`\n• تعديل الكسب: `{{gainDb}} dB` ({{gainPct}}%)\n• مستوى الصوت الفعلي: `{{effective}}%`"
|
||||
"trackInfo": "معلومات المقطع الحالي:\n• المصدر: `{{source}}`\n• تعديل الكسب: `{{gainDb}} dB` ({{gainPct}}%)\n• مستوى الصوت الفعلي: `{{effective}}%`",
|
||||
"headerAuthor": "🎚️ ضبط مستوى الصوت التلقائي",
|
||||
"headerTitle": "موازنة الصوت بمعيار EBU R128",
|
||||
"footer": "يوازن فروق مستوى الصوت عبر YouTube و Spotify و SoundCloud",
|
||||
"fieldSource": "مصدر المسار",
|
||||
"fieldGainOffset": "إزاحة الكسب",
|
||||
"fieldEffectiveVolume": "مستوى الصوت الفعلي"
|
||||
},
|
||||
"bassboost": {
|
||||
"disabled": "🔇 تم تعطيل تضخيم الباس — استعادة توازن الصوت الأصلي.",
|
||||
"applied": "🔊 تم تطبيق **تضخيم الباس ({{level}})**! معادل الصوت نشط الآن.",
|
||||
"failed": "❌ فشل تطبيق تضخيم الباس: {{reason}}"
|
||||
"failed": "❌ فشل تطبيق تضخيم الباس: {{reason}}",
|
||||
"eqTitle": "تم تطبيق معادل الصوت",
|
||||
"subBass": "الباس الفرعي",
|
||||
"midBass": "الباس المتوسط",
|
||||
"high": "التردد العالي",
|
||||
"resetHint": "إعادة التعيين في أي وقت بـ {{prefix}}bassboost off"
|
||||
},
|
||||
"speed": {
|
||||
"reset": "⏩ تمت إعادة ضبط سرعة التشغيل إلى الوضع الطبيعي **1.0×**.",
|
||||
"current": "⏩ سرعة التشغيل الحالية: **{{speed}}×**.\nاستخدم `{{prefix}}speed <0.5-2.0>` لتغيير السرعة.",
|
||||
"set": "{{emoji}} تم ضبط سرعة التشغيل على **{{speed}}×**.",
|
||||
"failed": "❌ فشل تعديل السرعة: {{reason}}"
|
||||
"failed": "❌ فشل تعديل السرعة: {{reason}}",
|
||||
"speedTitle": "تم تعديل سرعة التشغيل",
|
||||
"speedMultiplier": "مضاعف {{speed}}×",
|
||||
"resetHint": "إعادة التعيين في أي وقت بـ {{prefix}}speed"
|
||||
},
|
||||
"pitch": {
|
||||
"reset": "🎵 تمت إعادة ضبط طبقة الصوت إلى الوضع الطبيعي **1.0×**.",
|
||||
"current": "🎵 طبقة الصوت الحالية: **{{pitch}}×**.\nاستخدم `{{prefix}}pitch <0.5-2.0>` لتغيير الطبقة.",
|
||||
"set": "🎵 تم ضبط طبقة الصوت على **{{pitch}}×**.",
|
||||
"failed": "❌ فشل تعديل طبقة الصوت: {{reason}}"
|
||||
"failed": "❌ فشل تعديل طبقة الصوت: {{reason}}",
|
||||
"pitchTitle": "تم تعديل نبرة الصوت",
|
||||
"pitchMultiplier": "تغيير النبرة {{pitch}}×",
|
||||
"resetHint": "إعادة التعيين في أي وقت بـ {{prefix}}pitch"
|
||||
},
|
||||
"move": {
|
||||
"reorderedAuthor": "🔀 تمت إعادة ترتيب المسار",
|
||||
"reorderedDesc": "تم النقل من المركز **#{{from}}** ➔ **#{{to}}** في قائمة الانتظار.",
|
||||
"nowPlayingNext": "سيعمل الآن كالمسار التالي بعد الأغنية الحالية • {{prefix}}np",
|
||||
"viewUpdatedQueue": "{{prefix}}list لعرض قائمة الانتظار المحدثة"
|
||||
}
|
||||
}
|
||||
}
|
||||
+223
-71
@@ -33,7 +33,9 @@
|
||||
"aliasesLabel": "ناوە بدیلەکان: ",
|
||||
"requirements": "پێویستییەکان: ",
|
||||
"permission": "مۆڵەت `{{$permission}}`",
|
||||
"optionCount": "{{$count}} هەڵبژاردن(ەکان)"
|
||||
"optionCount": "{{$count}} هەڵبژاردن(ەکان)",
|
||||
"commandInspectorAuthor": "یارمەتیی فەرمان • {{prefix}}{{name}}",
|
||||
"commandInspectorFooter": "بنوسە {{prefix}}help بۆ هەموو فەرمانەکان • پۆل: {{category}}"
|
||||
},
|
||||
"invalidFlag": "ئاڵای نادروست `$invalidFlag`. لەگەڵ هیچ هەڵبژاردنێکی ئەم فەرمانە نایگونجێت.\n`$previousCmd $invalidFlag`",
|
||||
"page": {
|
||||
@@ -245,7 +247,9 @@
|
||||
"joinFailedNotFound": "❌ ئەو کەناڵە دەنگییە نەدۆزرایەوە."
|
||||
},
|
||||
"clear": {
|
||||
"cleared": "🗑️ ڕیزبەندییەکە پاککرایەوە."
|
||||
"cleared": "🗑️ ڕیزبەندییەکە پاککرایەوە.",
|
||||
"clearedTitle": "ڕیزبەندی پاککرایەوە",
|
||||
"clearedSummary": "{{count}} {{plural}} لە ڕیزبەندی سڕدرانەوە"
|
||||
},
|
||||
"debug": {
|
||||
"voiceTitle": "🔧 دیباگی دەنگ",
|
||||
@@ -282,7 +286,10 @@
|
||||
"pickerClosed": "👋 هەڵبژاردەری فلتەر داخرا.",
|
||||
"footer": "لاپەڕە {{page}}/{{total}} • بە ئیمۆجیی فلتەرێک واڕۆژێنەرەوە بۆ گۆڕین",
|
||||
"activeLabel": "**← چالاک**",
|
||||
"closeHint": "❌ داخستن"
|
||||
"closeHint": "❌ داخستن",
|
||||
"activePrefix": "چالاک:",
|
||||
"realtimeDsp": "چارەسەری دەنگی ڕاستەوخۆ",
|
||||
"navHint": "کارلێک بکە بە ئیمۆجی بۆ گۆڕین • ❌ بۆ داخستن"
|
||||
},
|
||||
"forceleave": {
|
||||
"channelNotFound": "❌ کەناڵەکە نەدۆزرایەوە.",
|
||||
@@ -306,7 +313,14 @@
|
||||
"autoLeaveInactive": "لە کەناڵی <#{{channel}}> دەرچوو بەهۆی بێچالاکبوون.",
|
||||
"autoLeaveInactive247": "لە کەناڵی <#{{channel}}> دەرچوو بەهۆی بێچالاکبوون.\nئەگەر دەتەوێت لە دەنگ بمێنیتەوە، `{{prefix}}247 on/auto` بەکاربهێنە\nبۆ بینین و بەڕێوەبردنی هەموو کەناڵە پاشەکەوتکراوەکان `{{prefix}}247` بەکاربهێنە.",
|
||||
"joinFailedPerms": "❌ مۆڵەتی پێوەستبوون بە <#{{channel}}>م نییە. تکایە دڵنیا ببەرەوە لەوەی مۆڵەتی **پەیوەستبوون**م هەیە.",
|
||||
"voiceChannelUnknown": "کەناڵی دەنگی نەناسراو"
|
||||
"voiceChannelUnknown": "کەناڵی دەنگی نەناسراو",
|
||||
"sessionStartedTitle": "پەیوەندی بە دەنگەوە کرا",
|
||||
"joinedChannel": "پەیوەستکراوە بە {{channel}}",
|
||||
"connectedBadge": "پەیوەستە",
|
||||
"connectedAuthor": "🟢 پەیوەست بوو بە دەنگ",
|
||||
"selectVCAuthor": "🔊 کەناڵێکی دەنگی هەڵبژێرە",
|
||||
"selectVCFooter": "کاردانەوە بکە بە ١-٩ بۆ پەیوەستبوون • بەسەردەچێت لە ٣٠ چرکەدا",
|
||||
"playPromptFooter": "هەر کاتێک مۆسیقا پەخش بکە بە {{prefix}}play <song>"
|
||||
},
|
||||
"leave": {
|
||||
"noVoiceChannel": "⚠️ تکایە سەرەتا بەشداری کەناڵێکی دەنگی بکە، یان یەکێک دیاریبکە: `{{prefix}}leave <#channel>`",
|
||||
@@ -319,7 +333,12 @@
|
||||
"left": "✅ بە سەرکەوتوویی دەرچوو",
|
||||
"leftRejoin247": "✅ بە سەرکەوتوویی دەرچوو — دووبارە بەشداری <#{{channel}}> دەکەم لە چەند چرکەیەکدا.\nبۆ ناچالاککردنی دۆخی 24/7 بەهەمیشەیی، `{{prefix}}247 off` بەکاربهێنە.",
|
||||
"left247On": "✅ بە سەرکەوتوویی دەرچوو.\nدۆخی 24/7 **چالاکە** — بۆتەکە دووبارە خۆی ناچێتەوە. `{{prefix}}play` بەکاربهێنە بۆ گەڕاندنی، یان `{{prefix}}247 off` بۆ ناچالاککردنی تەواو.\n`{{prefix}}247` بەکاربهێنە بۆ بینینی هەموو کەناڵە پاشەکەوتکراوەکان.",
|
||||
"autoRejoinHint": "⚠️ دۆخی 24/7 چالاکە (خۆکار) — دووبارە بەشداری <#{{channel}}> دەکەم لە چەند چرکەیەکدا.\nبۆ لابردنی من بەهەمیشەیی، سەرەتا دۆخی 24/7 ناچالاک بکە: `{{prefix}}247 off`"
|
||||
"autoRejoinHint": "⚠️ دۆخی 24/7 چالاکە (خۆکار) — دووبارە بەشداری <#{{channel}}> دەکەم لە چەند چرکەیەکدا.\nبۆ لابردنی من بەهەمیشەیی، سەرەتا دۆخی 24/7 ناچالاک بکە: `{{prefix}}247 off`",
|
||||
"sessionEndedTitle": "دانیشتنی دەنگ کۆتایی هات",
|
||||
"leftChannel": "جێهێشتنی {{channel}}",
|
||||
"disconnectedBadge": "پچڕا",
|
||||
"queueCleared": "ڕیزبەندی پاککرایەوە",
|
||||
"rejoinHint": "بچۆ ژوورەوە لە هەر کاتێکدا بە {{prefix}}join یان {{prefix}}play"
|
||||
},
|
||||
"list": {
|
||||
"empty": "📭 ڕیزبەندییەکە بەتاڵە. `{{prefix}}play` بەکاربهێنە بۆ زیادکردنی گۆرانی!",
|
||||
@@ -327,7 +346,11 @@
|
||||
"nowPlaying": "🎵 **ئێستا پەخش دەکرێت**",
|
||||
"header": "📋 **{{count}} تراک لە ڕیزبەندییەکەدا** • ⏱️ `{{time}}`",
|
||||
"upNext": " ▶",
|
||||
"queueTitle": "🎧 ڕیزبەندی"
|
||||
"queueTitle": "🎧 ڕیزبەندی",
|
||||
"tracksCount": "{{count}} {{plural}} لە ڕیزبەندی",
|
||||
"nowPlayingHeader": "ئێستا لێدەدرێت",
|
||||
"upNextHeader": "دواتر",
|
||||
"pageFooter": "پەڕە {{page}}/{{totalPages}} • دووبارەکردنەوە: {{loopState}}"
|
||||
},
|
||||
"queue": {
|
||||
"empty": "ڕیزبەندییەکە بەتاڵە.",
|
||||
@@ -343,7 +366,14 @@
|
||||
"songActivated": "🔂 لووپی گۆرانی چالاک کرا",
|
||||
"songDisabled": "➡️ لووپی گۆرانی ناچالاک کرا",
|
||||
"queueActivated": "🔁 لووپی ڕیزبەندی چالاک کرا",
|
||||
"queueDisabled": "➡️ لووپی ڕیزبەندی ناچالاک کرا"
|
||||
"queueDisabled": "➡️ لووپی ڕیزبەندی ناچالاک کرا",
|
||||
"loopTitle": "دۆخی دووبارەکردنەوە نوێکرایەوە",
|
||||
"songLoopDesc": "ئێستا ئەم تراکە دووبارە دەبێتەوە",
|
||||
"queueLoopDesc": "ئێستا هەموو ڕیزبەندییەکە دووبارە دەبێتەوە",
|
||||
"loopOffDesc": "دووبارەکردنەوە ناچالاکە",
|
||||
"songLoopBadge": "دووبارەکردنەوەی یەک تراک",
|
||||
"queueLoopBadge": "دووبارەکردنەوەی ڕیزبەندی",
|
||||
"loopOffBadge": "ناچالاکە"
|
||||
},
|
||||
"lyrics": {
|
||||
"nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا.",
|
||||
@@ -370,14 +400,22 @@
|
||||
"pause": {
|
||||
"nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!",
|
||||
"alreadyPaused": "❌ پێشتر وەستاوە!",
|
||||
"paused": "⏸️ وەستا"
|
||||
"paused": "⏸️ وەستا",
|
||||
"pausedTitle": "لێدان ڕاگیرا",
|
||||
"pausedAt": "ڕاگیرا لە {{time}}",
|
||||
"resumeHint": "بنووسە {{prefix}}resume بۆ بەردەوامبوون"
|
||||
},
|
||||
"ping": {
|
||||
"title": "🏓 Pong!",
|
||||
"measuring": "🏓 پینگ دەپێورێت...",
|
||||
"roundtrip": "📶 **ماوەی وەڵام**",
|
||||
"gateway": "🌐 **دەروازە**",
|
||||
"node": "🎧 **NodeLink**"
|
||||
"node": "🎧 **NodeLink**",
|
||||
"pingDashboard": "تەندروستی تۆڕ و نۆدی دەنگ",
|
||||
"operational": "کارایە",
|
||||
"restApi": "ڕاستاندنی REST API",
|
||||
"gatewayWs": "دەروازەی WebSocket",
|
||||
"audioNode": "نۆدی دەنگ"
|
||||
},
|
||||
"play": {
|
||||
"searching": "🔍 گەڕان...",
|
||||
@@ -386,6 +424,30 @@
|
||||
"added": "[{{title}}]({{url}}) بە سەرکەوتوویی زیادکرا بۆ ڕیزبەندییەکە.",
|
||||
"addedPlaylist": "**{{count}}** گۆرانی بە سەرکەوتوویی زیادکرا بۆ ڕیزبەندییەکە.",
|
||||
"nowPlaying": "🎵 ئێستا پەخش دەکرێت [{{title}}]({{url}}) لەلایەن {{author}} لە <#{{channel}}>",
|
||||
"addedToQueue": "زیادکرا بۆ ڕیزبەندی",
|
||||
"position": "ڕیزبەندی",
|
||||
"positionValue": "#{{position}} لە ڕیزبەندی",
|
||||
"positionNext": "دواتر راستەوخۆ",
|
||||
"duration": "ماوە",
|
||||
"estimatedWait": "کاتی پێشبینیکراو",
|
||||
"estimatedWaitMinutes": "~{{minutes}} خولەک",
|
||||
"estimatedWaitLessMinute": "کەمتر لە ١ خولەک",
|
||||
"requestedBy": "داواکراوە لەلایەن {{user}}",
|
||||
"queueCount": "ڕیزبەندی: {{count}} {{plural}}",
|
||||
"trackSingle": "گۆرانی",
|
||||
"trackPlural": "گۆرانی",
|
||||
"autoNowPlaying": "ئێستا پەخش دەکرێت",
|
||||
"byAuthor": "لەلایەن {{author}}",
|
||||
"upNext": "دواتر",
|
||||
"controlsHint": "بۆ کۆنترۆڵەکان بنووسە {{prefix}}np",
|
||||
"queueEndedTitle": "ڕیزبەندی کۆتایی هات",
|
||||
"queueEndedHeading": "هەموو گۆرانییەکان پەخشکران!",
|
||||
"queueEndedBody": "هیچ گۆرانییەک لە ڕیزبەندی نەماوە. گۆرانی زیاتر زیادبکە بە `{{prefix}}play <گۆرانی>`!",
|
||||
"radioSuggestionTitle": "ڕادیۆی ٢٤/٧",
|
||||
"radioSuggestionDesc": "تاقیبکەوە `{{prefix}}radio` بۆ ڕادیۆی بەردەوام",
|
||||
"autoplaySuggestionTitle": "پەخشی خۆکار",
|
||||
"autoplaySuggestionDesc": "بنووسە `{{prefix}}autoplay` بۆ پێشنیاری بەردەوام",
|
||||
"voiceSessionPaused": "دەنگ ڕاگیراوە",
|
||||
"noResults": "**هیچ ئەنجامێک نەدۆزرایەوە بۆ '{{query}}'.**",
|
||||
"searchFailed": "**گەڕان سەرکەوتوو نەبوو. تکایە دووبارە هەوڵبدەرەوە.**",
|
||||
"noData": "تراکەکە بارنەکرا — هیچ داتایەک نەگەڕایەوە.",
|
||||
@@ -396,10 +458,34 @@
|
||||
"bilibiliResolving": "📺 ڤیدیۆی Bilibili چارەسەر دەکرێت...",
|
||||
"bilibiliNoAudio": "❌ هیچ دەنگێکی لێدراو نییە بۆ **{{title}}** — لەوانەیە ڤیدیۆکە بە ناوچە دەبەسترێت، پارەدار بێت یان سڕدرابێتەوە.",
|
||||
"bilibiliError": "❌ Bilibili: {{message}}",
|
||||
"bilibiliDisabled": "❌ لێدانی Bilibili ناچالاک کراوە (config.json → bilibili.enabled)."
|
||||
"bilibiliDisabled": "❌ لێدانی Bilibili ناچالاک کراوە (config.json → bilibili.enabled).",
|
||||
"sourceRadio": "ڕادیۆی ٢٤/٧",
|
||||
"sourceMusic": "مۆسیقا",
|
||||
"station": "وێستگە",
|
||||
"channel": "کەناڵ",
|
||||
"artist": "هونەرمەند",
|
||||
"modeVol": "دۆخ / دەنگ",
|
||||
"volume": "دەنگ",
|
||||
"liveBroadcast": "پەخشی ڕاستەوخۆ",
|
||||
"customCut": "بڕینی تایبەت",
|
||||
"unknownAuthor": "هونەرمەندی نەناسراو",
|
||||
"unknownTrack": "تراکی نەناسراو",
|
||||
"endOfQueue": "کۆتایی ڕیزبەندی",
|
||||
"none": "هیچ",
|
||||
"on": "چالاکە",
|
||||
"off": "ناچالاکە",
|
||||
"nowPlayingFooter": "ڕیزبەندی: {{count}} {{plural}} ({{remaining}}) • دواتر: {{next}}",
|
||||
"nowPlayingFooterEmpty": "ڕیزبەندی: بەتاڵە • پەخشی خۆکار: {{autoplay}}",
|
||||
"loopSongLabel": "گۆرانی",
|
||||
"loopQueueLabel": "ڕیزبەندی",
|
||||
"loopOffLabel": "ناچالاکە",
|
||||
"sourceSpotify": "سپۆتیفای",
|
||||
"sourceSoundcloud": "ساوندکلاود",
|
||||
"sourceYoutube": "یوتیوب"
|
||||
},
|
||||
"playnext": {
|
||||
"searching": "🔍 گەڕان..."
|
||||
"searching": "🔍 گەڕان...",
|
||||
"playingNext": "⚡ پەخشی دواتر • پێشەنگی ڕیزبەندی (#1)"
|
||||
},
|
||||
"player": {
|
||||
"title": "🎧 کۆنتڕۆڵەکانی پەخشکەری موزیک",
|
||||
@@ -453,7 +539,8 @@
|
||||
"unknownStation": "❌ ستەیشنی نەناسراو `{{station}}`. بەردەستەکان: {{stations}}\n\n`$prefixradio list` بەکاربهێنە بۆ بینین.",
|
||||
"nowPlaying": "📻 پەخشی ڕاستەوخۆ _{{title}}_ لەلایەن [{{author}}]({{url}}) لە <#{{channel}}>",
|
||||
"skipHint": "_`$prefixskip` بەکاربهێنە بۆ وەستاندنی ڕادیۆ، یان `$prefixradio list` بۆ گۆڕینی ستەیشنەکان._",
|
||||
"prevNext": "⬅️ پێشوو ➡️ دواتر ❌ پاشگەزبوونەوە"
|
||||
"prevNext": "⬅️ پێشوو ➡️ دواتر ❌ پاشگەزبوونەوە",
|
||||
"stationsAuthor": "ڕێبەری وێستگەکانی ڕادیۆ ٢٤/٧"
|
||||
},
|
||||
"reload": {
|
||||
"indexNoReload": "❌ `index.mjs` ناتوانرێت بارکردنەوەی خێرا بکات — سەرەتا دەستپێکردنەوەی تەواو بکە.",
|
||||
@@ -470,12 +557,20 @@
|
||||
},
|
||||
"remove": {
|
||||
"indexOutOfBounds": "ئیندێکس لە دەرەوەی سنوورە",
|
||||
"removed": "**{{title}}** بە سەرکەوتوویی لە ڕیزبەندییەکە لابرا."
|
||||
"removed": "**{{title}}** بە سەرکەوتوویی لە ڕیزبەندییەکە لابرا.",
|
||||
"removedAuthor": "🗑️ لە ڕیزبەندی لابرا",
|
||||
"removedSingleDesc": "گۆرانی لە پێگەی **#{{position}}** لە ڕیزبەندی لابرا.",
|
||||
"removedRangeTitle": "{{count}} گۆرانی لابرا",
|
||||
"removedRangeDesc": "پێگەکانی **#{{from}}** تا **#{{to}}** بە سەرکەوتوویی لە ڕیزبەندی لابرا.",
|
||||
"remainingFooter": "{{count}} گۆرانی لە ڕیزبەندی ماوەتەوە • {{prefix}}list"
|
||||
},
|
||||
"resume": {
|
||||
"nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!",
|
||||
"notPaused": "❌ وەستاو نییە!",
|
||||
"resumed": "▶️ بەردەوامبوو"
|
||||
"resumed": "▶️ بەردەوامبوو",
|
||||
"resumedTitle": "لێدان بەردەوام کرا",
|
||||
"resumedAt": "دەستی پێکردەوە لە {{time}}",
|
||||
"pauseHint": "بنووسە {{prefix}}pause بۆ ڕاگرتن"
|
||||
},
|
||||
"search": {
|
||||
"loadingResults": "⏳ بارکردنی ئەنجامەکان...",
|
||||
@@ -486,7 +581,8 @@
|
||||
"cancelled": "❌ هەڵوەشایەوە.",
|
||||
"added": "✅ [{{title}}]({{url}}) **زیادکرا بۆ ڕیزبەندییەکە!**",
|
||||
"timedOut": "⏰ کاتی گەڕان تەواو بوو.",
|
||||
"sessionClosed": "دانیشتن داخرا"
|
||||
"sessionClosed": "دانیشتن داخرا",
|
||||
"cancelOption": "هەڵوەشاندنەوە"
|
||||
},
|
||||
"servers": {
|
||||
"noServers": "_هیچ سێرڤەرێک نەدۆزرایەوە._",
|
||||
@@ -552,54 +648,36 @@
|
||||
"channelsLabelPlural": "{{count}} کەناڵ",
|
||||
"thisServer": "ئەم سێرڤەرە",
|
||||
"247Panel": {
|
||||
"title": "♾️ دۆخی 24/7",
|
||||
"noChannelsSaved": "هیچ کەناڵێکی دەنگ پاشەکەوت نەکراوە.",
|
||||
"gettingStarted": "دەستپێکردن",
|
||||
"gettingStartedValue": "• `{{prefix}}247 on` — بەهەمیشەیی بمێنەرەوە\n• `{{prefix}}247 auto` — بمێنەرەوە + دووبارە خۆکارانە بەشداریکردن لە دوای پچڕان",
|
||||
"footer": "{{prefix}}247 چالاک | {{prefix}}247 خۆکار | {{prefix}}247 ناکاراک",
|
||||
"channelsSaved_one": "{{count}} کەناڵ پاشەکەوت کرا",
|
||||
"channelsSaved_other": "{{count}} کەناڵ پاشەکەوت کران",
|
||||
"summaryOn": "✅ {{count}} چالاک",
|
||||
"summaryAuto": "🔄 {{count}} خۆکار",
|
||||
"modeOn": "✅ چالاک",
|
||||
"modeAuto": "🔄 خۆکار",
|
||||
"modeOff": "❌ ناچالاک",
|
||||
"enabledTitle": "♾️ 24/7 {{mode}}",
|
||||
"enabledDescription": "{{channel}} ← **{{mode}}** — {{summary}}",
|
||||
"enabledFooter": "{{prefix}}247 off بۆ ناچالاککردنی کەناڵێک",
|
||||
"savedChannels": "کەناڵە پاشەکەوتکراوەکان",
|
||||
"currentMarker": " ←",
|
||||
"disabledTitle": "♾️ 24/7 ناچالاک",
|
||||
"noChannelsSavedField": "هیچ کەناڵێک پاشەکەوت نەکراوە",
|
||||
"allChannelsRemoved": "هەموو کەناڵەکانی 24/7 لابراون. بۆت لە دوای بێچالاکبوون دەنگ جێدەهێڵێت.",
|
||||
"channelRemoved": "<#{{channel}}> لابرا",
|
||||
"channelsRemaining_one": "{{count}} کەناڵ ماوە",
|
||||
"channelsRemaining_other": "{{count}} کەناڵ ماون",
|
||||
"reenableFooter": "{{prefix}}247 on | {{prefix}}247 auto بۆ چالاککردنەوە",
|
||||
"allChannelsLabel": "❌ هەموو کەناڵەکان",
|
||||
"allChannelsDisabled": "دۆخی 24/7 **ناچالاک کرا** بۆ هەموو کەناڵەکان لەم سێرڤەرەدا.\nبۆت لە دوای بێچالاکبوون دەنگ جێدەهێڵێت.",
|
||||
"noChannelsSavedShort": "هیچ کەناڵێک پاشەکەوت نەکراوە",
|
||||
"joinFailed": "⚠️ 24/7 {{mode}} پاشەکەوت کرا، بەڵام بەشداریکردن لە <#{{channel}}> سەرکەوتوو نەبوو.\nهەڵە: `{{error}}`\n\n`{{prefix}}join` یان `{{prefix}}play` تاقی بکەرەوە دواتر.",
|
||||
"statusConnected": "🟢 پەیوەستە",
|
||||
"statusReconnecting": "🟡 دووبارە پەیوەندی دەکاتەوە",
|
||||
"statusOffline": "🔴 ئۆفلاین",
|
||||
"autoRecoveryLine": "♻️ چاککردنەوەی خۆکار چالاکە — کەناڵە پاشەکەوتکراوەکان هەموو {{seconds}} چرکەیەک پشکنین دەکرێن",
|
||||
"autoRecoveryDisabledLine": "♻️ چاککردنەوەی خۆکار ئامادەیە",
|
||||
"enabledLine": "✅ 24/7 **چالاکە** — بۆت پەیوەست دەمێنێتەوە و ئەگەر پەیوەندی پچڕدرێت، خۆکارانە دووبارە دەگەڕێتەوە.",
|
||||
"disabledHint": "بچۆ ناو کەناڵێکی دەنگ و بۆ چالاککردن `{{prefix}}247` بەکاربهێنە.",
|
||||
"footerLine": "{{prefix}}247 · چالاک/ناچالاک · {{prefix}}247 off · هەمووی لابەرە",
|
||||
"confirmEnabled": "✅ 24/7 لە {{channel}} چالاککرا — بۆت پەیوەست دەمێنێتەوە و ئەگەر پەیوەندی پچڕدرێت، خۆکارانە دووبارە دەگەڕێتەوە.",
|
||||
"confirmDisabled": "❌ 24/7 لە {{channel}} ناچالاککرا — بۆت کاتێک بێکار بێت، دەچێتە دەرەوە.",
|
||||
"confirmDisabledAll": "❌ 24/7 بۆ هەموو کەناڵەکانی ئەم سێرڤەرە ناچالاککرا — بۆت کاتێک بێکار بێت، دەچێتە دەرەوە.",
|
||||
"disabledLine": "❌ 24/7 **ناچالاکە**",
|
||||
"activeChannels_one": "✅ 24/7 لە {{count}} کەناڵدا چالاکە:",
|
||||
"activeChannels_other": "✅ 24/7 لە {{count}} کەناڵدا چالاکە:"
|
||||
"watchdogAuthor": "📻 چاودێری دەنگی بەردەوامی ٢٤/٧",
|
||||
"watchdogTitle": "سیستەمی دەنگی بەردەوام",
|
||||
"watchdogFieldRecovery": "گەڕاندنەوەی خۆکار",
|
||||
"watchdogFieldInactivity": "جێهێشتن لە بێدەنگیدا",
|
||||
"watchdogRecoveryArmed": "ئامادەیە (پشکنین هەر {{seconds}} چرکە)",
|
||||
"watchdogInactivitySuppressed": "ڕاگیراوە (٢٤/٧)",
|
||||
"watchdogStatusMonitoring": "لە چاودێریدایە",
|
||||
"watchdogStatusStandby": "ئامادەباشی",
|
||||
"watchdogFooter": "دۆخەکە بگۆڕە بە {{prefix}}247 on یان {{prefix}}247 off • چاودێر کارایە"
|
||||
},
|
||||
"max247Channels": "دەتوانیت تا {{max}} کەناڵی دەنگی 24/7 لە یەک سێرڤەردا پاشەکەوت بکەیت. سەرەتا `{{prefix}}247 off` لە یەکێک لە کەناڵە پاشەکەوتکراوەکان بەکاربهێنە."
|
||||
"max247Channels": "دەتوانیت تا {{max}} کەناڵی دەنگی 24/7 لە یەک سێرڤەردا پاشەکەوت بکەیت. سەرەتا `{{prefix}}247 off` لە یەکێک لە کەناڵە پاشەکەوتکراوەکان بەکاربهێنە.",
|
||||
"categoryGeneral": "🌐 گشتی و زمانەوانی",
|
||||
"categoryAudio": "🔊 دەنگ و لێدان",
|
||||
"categoryVoice247": "📻 پەیوەندی دەنگی ٢٤/٧",
|
||||
"dashboardTitle": "⚙️ تابلۆی کۆنترۆڵی سێرڤەر",
|
||||
"dashboardFooter": "ڕێکخستنەکان بگۆڕە بە {{prefix}}settings set <key> <val> • {{prefix}}settings help",
|
||||
"statusActive247": "چالاکە ٢٤/٧",
|
||||
"statusActiveChannel": "چالاکە ({{channel}})",
|
||||
"statusActiveChannels": "چالاکە ({{count}} کەناڵ)",
|
||||
"inspectorTitle": "⚙️ پشکنەری ڕێکخستن",
|
||||
"settingValueField": "بەهای ئێستا",
|
||||
"settingDescField": "وەسف",
|
||||
"inspectorFooter": "{{prefix}}settings set {{setting}} <val> بەکاربهێنە بۆ نوێکردنەوە"
|
||||
},
|
||||
"shuffle": {
|
||||
"emptyQueue": "هیچ شتێک نییە لە ڕیزبەندییەکەدا بۆ تێکەڵکردن.",
|
||||
"shuffled": "🔀 ڕیزبەندییەکە تێکەڵ کرا"
|
||||
"shuffled": "🔀 ڕیزبەندییەکە تێکەڵ کرا",
|
||||
"shuffledTitle": "ڕیزبەندی تێکەڵکرا",
|
||||
"shuffledSummary": "{{count}} {{plural}} بە شێوەیەکی هەڕەمەکی تێکەڵکران",
|
||||
"newUpNext": "تراکی ژمارە ١ی نوێی دواتر"
|
||||
},
|
||||
"skip": {
|
||||
"nothingPlaying": "❌ هیچ شتێک پەخش ناکرێت لە ئێستادا!",
|
||||
@@ -607,7 +685,11 @@
|
||||
"skippedTrack": "⏭️ [{{title}}]({{url}}) تێپەڕا",
|
||||
"skippedToPosition": "⏭️ تێپەڕا بۆ شوێنی {{position}}",
|
||||
"voteAdded": "🗳️ دەنگدان بۆ تێپەڕین: **{{votes}}/{{needed}}**. فەرمانەکە دووبارە بەکاربهێنە بۆ زیادکردنی دەنگت!",
|
||||
"alreadyVoted": "🗳️ پێشتر دەنگت داوە بۆ تێپەڕین! **{{votes}}/{{needed}}** دەنگ تا ئێستا."
|
||||
"alreadyVoted": "🗳️ پێشتر دەنگت داوە بۆ تێپەڕین! **{{votes}}/{{needed}}** دەنگ تا ئێستا.",
|
||||
"skippedTitle": "تراک پەڕێندرا",
|
||||
"skippedAt": "پەڕێندرا لە {{time}}",
|
||||
"upNext": "دواتر",
|
||||
"queueRemaining": "{{count}} {{plural}} لە ڕیزبەندی"
|
||||
},
|
||||
"stats": {
|
||||
"title": "بۆتی موزیکی Remix",
|
||||
@@ -646,13 +728,20 @@
|
||||
"thumbnail": {
|
||||
"nothingPlaying": "هیچ شتێک پەخش ناکرێت لە ئێستادا.",
|
||||
"noThumbnail": "وێنەی بچووک بەردەست نییە.",
|
||||
"thumbnail": "وێنەی بچووکی [{{title}}]({{url}}):"
|
||||
"thumbnail": "وێنەی بچووکی [{{title}}]({{url}}):",
|
||||
"thumbTitle": "وێنەی ئەلبووم",
|
||||
"highRes": "کوالیتی بەرز",
|
||||
"noArtwork": "❌ هیچ وێنەیەک بۆ ئەم تراکە بەردەست نییە.",
|
||||
"expandHint": "کرتە لە وێنەکە بکە بۆ گەورەکردن"
|
||||
},
|
||||
"volume": {
|
||||
"current": "🔊 ئاستی دەنگی ئێستا: `{{volume}}%`",
|
||||
"outOfRange": "❌ ئاستی دەنگ دەبێت لەنێوان `0` و `{{max}}%` بێت.",
|
||||
"changed": "🔊 ئاستی دەنگ گۆڕدرا بۆ `{{volume}}%` بۆ ئەم دانیشتنە.",
|
||||
"setPending": "ئاستی دەنگ دانرا بۆ `{{volume}}%` — لە کاتی پەیوەستبووندا جێبەجێ دەکرێت."
|
||||
"setPending": "ئاستی دەنگ دانرا بۆ `{{volume}}%` — لە کاتی پەیوەستبووندا جێبەجێ دەکرێت.",
|
||||
"volumeAdjusted": "دەنگ گۆڕدرا",
|
||||
"currentVolume": "دەنگی ئێستا",
|
||||
"volumeHint": "بەکاری بهێنە {{prefix}}volume <0-150>"
|
||||
},
|
||||
"volumedefault": {
|
||||
"title": "🔊 ڕێکخستنەکانی دەنگ",
|
||||
@@ -662,7 +751,12 @@
|
||||
"noPermission": "⚠️ پێویستە مۆڵەتی **بەڕێوەبردنی سێرڤەر** هەبێت بۆ گۆڕینی بنەڕەتی.",
|
||||
"noPermissionSet": "❌ پێویستە مۆڵەتی **بەڕێوەبردنی سێرڤەر** هەبێت بۆ دانانی ئاستی دەنگی بنەڕەتی سێرڤەر.",
|
||||
"outOfRange": "❌ ئاستی دەنگ دەبێت لەنێوان `0` و `{{max}}%` بێت.",
|
||||
"saved": "🔊 ئاستی دەنگی بنەڕەتی سێرڤەر وەک `{{volume}}%` پاشەکەوت کرا."
|
||||
"saved": "🔊 ئاستی دەنگی بنەڕەتی سێرڤەر وەک `{{volume}}%` پاشەکەوت کرا.",
|
||||
"author": "🔊 دەنگی بنەڕەتیی سێرڤەر",
|
||||
"fieldDefault": "دەنگی بنەڕەتی",
|
||||
"fieldActive": "دەنگی کاتی ئێستا",
|
||||
"authorSaved": "🔊 دەنگی بنەڕەتیی سێرڤەر پاشەکەوت کرا",
|
||||
"fieldNewDefault": "ئاستی بنەڕەتی نوێ"
|
||||
},
|
||||
"gateway": {
|
||||
"missingPermsFallback": "⚠️ مۆڵەتەکانم کەمە کە پێویستیم بەوانەیە بۆ کارکردنی دروست! کەمەکان: **{{perms}}**. تکایە لە بەڕێوەبەری سێرڤەر بخۆشتن ئەم مۆڵەتانە لە ڕێکخستنەکانی سێرڤەر ← ڕۆڵەکان."
|
||||
@@ -771,7 +865,26 @@
|
||||
"noArtistTags": "🏷️ هیچ تاگێک بۆ هونەرمەندی **{{artist}}** نەدۆزرایەوە.",
|
||||
"artistTagsTitle": "🏷️ تاگە سەرەکییەکان بۆ {{artist}}",
|
||||
"listeners": "گوێگر",
|
||||
"leaderboardYourRank": "📍 پلەی تۆ: **#{{rank}}** ({{count}} scrobble)"
|
||||
"leaderboardYourRank": "📍 پلەی تۆ: **#{{rank}}** ({{count}} scrobble)",
|
||||
"crownHolder": "👑 هەڵگری تاج (#1)",
|
||||
"serverLeaderboardAuthor": "👑 ڕیزبەندی پێشەنگەکانی مۆسیقای سێرڤەر",
|
||||
"trackLeaderboardAuthor": "👑 ڕیزبەندی پێشەنگەکانی ئەم گۆرانییە",
|
||||
"albumLeaderboardAuthor": "👑 ڕیزبەندی پێشەنگەکانی ئەم ئەلبومە",
|
||||
"profileAuthor": "👤 کارتی پرۆفایلی Last.fm",
|
||||
"profileFieldTotalScrobbles": "کۆی گشتی سکڕۆبڵەکان",
|
||||
"profileFieldScrobbling": "سکڕۆبڵی خۆکار",
|
||||
"profileFieldArtists": "هونەرمەندە گوێلێگیراوەکان",
|
||||
"profileFieldRegistered": "ئەندامە لەوەتەی",
|
||||
"profileFooterPro": "گۆڕینی سکڕۆبڵی خۆکار: {{prefix}}lastfm scrobble • {{prefix}}lastfm top",
|
||||
"artistSpotlightAuthor": "🎤 تیشکۆ خستنەسەر هونەرمەند",
|
||||
"artistFieldListeners": "گوێگران",
|
||||
"artistFieldPlays": "لێدانی جیهانی",
|
||||
"artistFieldUserPlays": "لێدانەکانی تۆ",
|
||||
"artistFieldSimilar": "هونەرمەندانی هاوشێوە",
|
||||
"artistFieldTags": "جۆر و تاگەکان",
|
||||
"artistFooterPro": "ڕیزبەندی سێرڤەر: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums",
|
||||
"coverAuthor": "🖼️ گەلەری کەڤەری ئەلبوم",
|
||||
"coverFooterPro": "پیشاندانی وێنەی گۆرانی: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo"
|
||||
},
|
||||
"messages": {
|
||||
"missingCriticalPermsTitle": "مۆڵەتە کەمەکان — بۆت ناتوانێت بە دروستی کار بکات",
|
||||
@@ -818,11 +931,18 @@
|
||||
"exceedsDuration": "❌ شوێنی گەڕانەوە لە ماوەی تراکەکە زیاترە (**{{duration}}**).",
|
||||
"seeked": "⏩ گەڕایەوە بۆ **{{position}}**",
|
||||
"notSupported": "❌ گەڕانەوە لەلایەن گرێی دەنگی ئێستاوە پشتگیری ناکرێت.",
|
||||
"failed": "❌ گەڕانەوە سەرکەوتوو نەبوو: {{error}}"
|
||||
"failed": "❌ گەڕانەوە سەرکەوتوو نەبوو: {{error}}",
|
||||
"seekTitle": "شوێن گۆڕدرا",
|
||||
"seekSubtitle": "{{position}} / {{duration}}"
|
||||
},
|
||||
"autoplay": {
|
||||
"enabled": "🔁 لێدانی خۆکار **چالاک کرا** — تراکی هاوشێوە بە خۆکارایەتی زیاد دەکرێن کاتێک ڕیزبەندییەکە تەواو بوو.",
|
||||
"disabled": "➡️ لێدانی خۆکار **ناچالاک کرا** — بۆت وەستێت کاتێک ڕیزبەندییەکە تەواو بوو."
|
||||
"disabled": "➡️ لێدانی خۆکار **ناچالاک کرا** — بۆت وەستێت کاتێک ڕیزبەندییەکە تەواو بوو.",
|
||||
"autoplayTitleEnabled": "پەخشی خۆکاری بێکۆتایی چالاک کرا",
|
||||
"autoplayTitleDisabled": "پەخشی خۆکار ناچالاک کرا",
|
||||
"autoplayDescEnabled": "ڕیمیکس خۆکارانە تراکی پێشنیارکراو زیاد دەکات کاتێک ڕیزبەندی تەواو دەبێت.",
|
||||
"autoplayDescDisabled": "پەخشی خۆکار کوژایەوە. دەنگ دەوەستێت کاتێک ڕیزبەندی تەواو دەبێت.",
|
||||
"autoplayEngine": "ماتۆڕ: YouTube Mix + Last.fm"
|
||||
},
|
||||
"trackopt": {
|
||||
"notAvailable": "❌ تایبەتمەندی هەڵبژاردنی تراک بەردەست نییە.",
|
||||
@@ -850,30 +970,62 @@
|
||||
"listEmpty": "📭 هیچ هەڵبژاردەیەکی تراک هەڵنەگیراوەتەوە. `{{prefix}}trackopt set <start> [end]` بەکاربێنە بە زیادکردنی یەک!",
|
||||
"listTitle": "📋 **هەڵبژاردەکانی تراکت** ({{count}})",
|
||||
"listEntry": "• **{{title}}** — {{start}} → {{end}}",
|
||||
"listHint": "`{{prefix}}trackopt play <alias>` بەکاربێنە بە جێبەجێکردنی دەرکردەیەکی ناوەند، یان `{{prefix}}trackopt remove [alias]` بۆ سڕینەوەی یەک."
|
||||
"listHint": "`{{prefix}}trackopt play <alias>` بەکاربێنە بە جێبەجێکردنی دەرکردەیەکی ناوەند، یان `{{prefix}}trackopt remove [alias]` بۆ سڕینەوەی یەک.",
|
||||
"savedAuthor": "✂️ بڕینی تایبەتی گۆرانی پاشەکەوت کرا",
|
||||
"playbackWindowField": "ماوەی پەخشکردن",
|
||||
"aliasField": "ناوی خوازراو",
|
||||
"activeTrimField": "بڕینی چالاک",
|
||||
"playHintFooter": "ئەم بڕینە هەر کاتێک بوێت پەخش بکە بە: {{prefix}}trackopt play {{alias}}",
|
||||
"savedListAuthor": "✂️ بڕینە پاشەکەوتکراوەکانی گۆرانی",
|
||||
"trimProfilesFooter": "{{count}} شێوازی بڕین پاشەکەوت کرا • بەکاربهێنە بە {{prefix}}trackopt play <alias>",
|
||||
"appliedAuthor": "✂️ بڕینی گۆرانی جێبەجێ کرا",
|
||||
"activeCutRangeField": "مەودای بڕینی چالاک"
|
||||
},
|
||||
"normalize": {
|
||||
"statusEnabled": "🔊 یەکسانسازیی دەنگی داینامیکی (ReplayGain) لەم سێرڤەرەدا **چالاکە**.",
|
||||
"statusDisabled": "🔇 یەکسانسازیی دەنگی داینامیکی (ReplayGain) لەم سێرڤەرەدا **ناچالاکە**.",
|
||||
"info": "کاتێک چالاک دەبێت، بەرزیی دەنگ بە شێوەیەکی داینامیکی بەپێی ستانداردی نێودەوڵەتی -14 LUFS ڕێکدەخرێت بۆ ئەوەی تراکە هێمن و بەرزەکان بە ئاستێکی هاوسەنگ لێبدرێن.",
|
||||
"trackInfo": "زانیاری تراکی ئێستا:\n• سەرچاوە: `{{source}}`\n• دەستکاریکردنی ئاست: `{{gainDb}} dB` ({{gainPct}}%)\n• ئاستی دەنگی کارا: `{{effective}}%`"
|
||||
"trackInfo": "زانیاری تراکی ئێستا:\n• سەرچاوە: `{{source}}`\n• دەستکاریکردنی ئاست: `{{gainDb}} dB` ({{gainPct}}%)\n• ئاستی دەنگی کارا: `{{effective}}%`",
|
||||
"headerAuthor": "🎚️ ڕێکخستنی دەنگی داینامیکی",
|
||||
"headerTitle": "هاوسەنگکردنی دەنگ بە پێوەری EBU R128",
|
||||
"footer": "جیاوازی دەنگ هاوسەنگ دەکات لەنێوان YouTube، Spotify و SoundCloud",
|
||||
"fieldSource": "سەرچاوەی گۆرانی",
|
||||
"fieldGainOffset": "دەستکاریکردنی دەنگ",
|
||||
"fieldEffectiveVolume": "دەنگی کاریگەر"
|
||||
},
|
||||
"bassboost": {
|
||||
"disabled": "🔇 بەرزکردنەوەی باس ناچالاک کرا — هاوسەنگی دەنگی سەرەتایی گەڕایەوە.",
|
||||
"applied": "🔊 **بەرزکردنەوەی باس ({{level}})** جێبەجێکرا! ئیكوالایزەر چالاکە.",
|
||||
"failed": "❌ جێبەجێکردنی بەرزکردنەوەی باس سەرکەوتوو نەبوو: {{reason}}"
|
||||
"failed": "❌ جێبەجێکردنی بەرزکردنەوەی باس سەرکەوتوو نەبوو: {{reason}}",
|
||||
"eqTitle": "فلتەری دەنگ جێبەجێ کرا",
|
||||
"subBass": "باسی ژێرەوە",
|
||||
"midBass": "باسی ناوەند",
|
||||
"high": "دەنگی بەرز",
|
||||
"resetHint": "ڕێکخستنەوە لە هەر کاتێکدا بە {{prefix}}bassboost off"
|
||||
},
|
||||
"speed": {
|
||||
"reset": "⏩ خێرایی لێدان گەڕایەوە بۆ باری ئاسایی **1.0×**.",
|
||||
"current": "⏩ خێرایی لێدانی ئێستا: **{{speed}}×**.\nبۆ گۆڕینی خێرایی `{{prefix}}speed <0.5-2.0>` بەکاربهێنە.",
|
||||
"set": "{{emoji}} خێرایی لێدان دانرا لەسەر **{{speed}}×**.",
|
||||
"failed": "❌ گۆڕینی خێرایی سەرکەوتوو نەبوو: {{reason}}"
|
||||
"failed": "❌ گۆڕینی خێرایی سەرکەوتوو نەبوو: {{reason}}",
|
||||
"speedTitle": "خێرایی لێدان ڕێکخرا",
|
||||
"speedMultiplier": "لێکدانی {{speed}}×",
|
||||
"resetHint": "ڕێکخستنەوە لە هەر کاتێکدا بە {{prefix}}speed"
|
||||
},
|
||||
"pitch": {
|
||||
"reset": "🎵 تۆنی دەنگ گەڕایەوە بۆ باری ئاسایی **1.0×**.",
|
||||
"current": "🎵 تۆنی دەنگی ئێستا: **{{pitch}}×**.\nبۆ گۆڕینی تۆن `{{prefix}}pitch <0.5-2.0>` بەکاربهێنە.",
|
||||
"set": "🎵 تۆنی دەنگ دانرا لەسەر **{{pitch}}×**.",
|
||||
"failed": "❌ گۆڕینی تۆنی دەنگ سەرکەوتوو نەبوو: {{reason}}"
|
||||
"failed": "❌ گۆڕینی تۆنی دەنگ سەرکەوتوو نەبوو: {{reason}}",
|
||||
"pitchTitle": "تۆنی دەنگ ڕێکخرا",
|
||||
"pitchMultiplier": "گۆڕینی تۆن {{pitch}}×",
|
||||
"resetHint": "ڕێکخستنەوە لە هەر کاتێکدا بە {{prefix}}pitch"
|
||||
},
|
||||
"move": {
|
||||
"reorderedAuthor": "🔀 گۆرانی دووبارە ڕیزکرایەوە",
|
||||
"reorderedDesc": "لە پێگەی **#{{from}}** ➔ **#{{to}}** لە ڕیزبەندی گوازرایەوە.",
|
||||
"nowPlayingNext": "ئێستا دوای گۆرانی ئێستا پەخش دەکرێت • {{prefix}}np",
|
||||
"viewUpdatedQueue": "{{prefix}}list بۆ بینینی ڕیزبەندی نوێکراوە"
|
||||
}
|
||||
}
|
||||
}
|
||||
+223
-71
@@ -33,7 +33,9 @@
|
||||
"aliasesLabel": "Aliase: ",
|
||||
"requirements": "Voraussetzungen: ",
|
||||
"permission": "Berechtigung `{{$permission}}`",
|
||||
"optionCount": "{{$count}} Option(en)"
|
||||
"optionCount": "{{$count}} Option(en)",
|
||||
"commandInspectorAuthor": "Befehlshilfe • {{prefix}}{{name}}",
|
||||
"commandInspectorFooter": "Tippe {{prefix}}help für die komplette Befehlsliste • Kategorie: {{category}}"
|
||||
},
|
||||
"invalidFlag": "Ungültige Flag `$invalidFlag`. Sie stimmt mit keiner Option dieses Befehls überein.\n`$previousCmd $invalidFlag`",
|
||||
"page": {
|
||||
@@ -245,7 +247,9 @@
|
||||
"joinFailedNotFound": "❌ Dieser Sprachkanal wurde nicht gefunden."
|
||||
},
|
||||
"clear": {
|
||||
"cleared": "🗑️ Warteschlange geleert."
|
||||
"cleared": "🗑️ Warteschlange geleert.",
|
||||
"clearedTitle": "Warteschlange Geleert",
|
||||
"clearedSummary": "{{count}} {{plural}} aus der Warteschlange entfernt"
|
||||
},
|
||||
"debug": {
|
||||
"voiceTitle": "🔧 Sprach-Debug",
|
||||
@@ -282,7 +286,10 @@
|
||||
"pickerClosed": "👋 Filter-Picker geschlossen.",
|
||||
"footer": "Seite {{page}}/{{total}} • Reagiere mit einem Filter-Emoji zum Umschalten",
|
||||
"activeLabel": "**← aktiv**",
|
||||
"closeHint": "❌ Schließen"
|
||||
"closeHint": "❌ Schließen",
|
||||
"activePrefix": "Aktiv:",
|
||||
"realtimeDsp": "Echtzeit-DSP",
|
||||
"navHint": "Mit Emoji reagieren zum Umschalten • ❌ zum Schließen"
|
||||
},
|
||||
"forceleave": {
|
||||
"channelNotFound": "❌ Kanal nicht gefunden.",
|
||||
@@ -306,7 +313,14 @@
|
||||
"autoLeaveInactive": "Kanal <#{{channel}}> wegen Inaktivität verlassen.",
|
||||
"autoLeaveInactive247": "Kanal <#{{channel}}> wegen Inaktivität verlassen.\nWenn ich im Sprachkanal bleiben soll, nutze `{{prefix}}247 on` oder `{{prefix}}247 auto`\n💡 Nutze `{{prefix}}247` um alle gespeicherten Kanäle zu sehen und zu verwalten.",
|
||||
"joinFailedPerms": "❌ Ich habe keine Berechtigung, <#{{channel}}> beizutreten. Bitte prüfe, ob ich die **Verbinden**-Berechtigung habe.",
|
||||
"voiceChannelUnknown": "unbekannter Sprachkanal"
|
||||
"voiceChannelUnknown": "unbekannter Sprachkanal",
|
||||
"sessionStartedTitle": "Sprach-Sitzung Verbunden",
|
||||
"joinedChannel": "Verbunden mit {{channel}}",
|
||||
"connectedBadge": "Verbunden",
|
||||
"connectedAuthor": "🟢 Mit Sprachkanal verbunden",
|
||||
"selectVCAuthor": "🔊 Sprachkanal auswählen",
|
||||
"selectVCFooter": "Reagiere mit 1-9 zum Verbinden • Sitzung läuft in 30s ab",
|
||||
"playPromptFooter": "Spiele Musik jederzeit ab mit {{prefix}}play <titel>"
|
||||
},
|
||||
"leave": {
|
||||
"noVoiceChannel": "⚠️ Bitte trete zuerst einem Sprachkanal bei oder gib einen an: `{{prefix}}leave <#channel>`",
|
||||
@@ -319,7 +333,12 @@
|
||||
"left": "✅ Erfolgreich verlassen",
|
||||
"leftRejoin247": "✅ Erfolgreich verlassen — trete <#{{channel}}> in wenigen Sekunden wieder bei.\nUm den 24/7-Modus dauerhaft zu deaktivieren, nutze `{{prefix}}247 off`.",
|
||||
"left247On": "✅ Erfolgreich verlassen.\n24/7-Modus ist **aktiv** — Bot wird nicht automatisch wiederkommen. Nutze `{{prefix}}play`, um ihn zurückzuholen, oder `{{prefix}}247 off` zum vollständigen Deaktivieren.\nNutze `{{prefix}}247` um alle gespeicherten Kanäle zu sehen.",
|
||||
"autoRejoinHint": "⚠️ 24/7-Modus ist aktiviert (auto) — trete <#{{channel}}> in wenigen Sekunden wieder bei.\nUm mich dauerhaft zu entfernen, deaktiviere zuerst den 24/7-Modus: `{{prefix}}247 off`"
|
||||
"autoRejoinHint": "⚠️ 24/7-Modus ist aktiviert (auto) — trete <#{{channel}}> in wenigen Sekunden wieder bei.\nUm mich dauerhaft zu entfernen, deaktiviere zuerst den 24/7-Modus: `{{prefix}}247 off`",
|
||||
"sessionEndedTitle": "Sprach-Sitzung Beendet",
|
||||
"leftChannel": "{{channel}} verlassen",
|
||||
"disconnectedBadge": "Getrennt",
|
||||
"queueCleared": "Warteschlange geleert",
|
||||
"rejoinHint": "Jederzeit beitreten mit {{prefix}}join oder {{prefix}}play"
|
||||
},
|
||||
"list": {
|
||||
"empty": "📭 Die Warteschlange ist leer. Nutze `{{prefix}}play`, um Songs hinzuzufügen!",
|
||||
@@ -327,7 +346,11 @@
|
||||
"nowPlaying": "🎵 **Spielt gerade**",
|
||||
"header": "📋 **{{count}} Tracks in der Warteschlange** • ⏱️ `{{time}}`",
|
||||
"upNext": " ▶",
|
||||
"queueTitle": "🎧 Warteschlange"
|
||||
"queueTitle": "🎧 Warteschlange",
|
||||
"tracksCount": "{{count}} {{plural}} in der Warteschlange",
|
||||
"nowPlayingHeader": "Aktuelle Wiedergabe",
|
||||
"upNextHeader": "Als Nächstes",
|
||||
"pageFooter": "Seite {{page}}/{{totalPages}} • Schleife: {{loopState}}"
|
||||
},
|
||||
"queue": {
|
||||
"empty": "Die Warteschlange ist leer.",
|
||||
@@ -343,7 +366,14 @@
|
||||
"songActivated": "🔂 Song-Schleife aktiviert",
|
||||
"songDisabled": "➡️ Song-Schleife deaktiviert",
|
||||
"queueActivated": "🔁 Warteschlangen-Schleife aktiviert",
|
||||
"queueDisabled": "➡️ Warteschlangen-Schleife deaktiviert"
|
||||
"queueDisabled": "➡️ Warteschlangen-Schleife deaktiviert",
|
||||
"loopTitle": "Wiederholungsmodus Aktualisiert",
|
||||
"songLoopDesc": "Aktueller Titel wird wiederholt",
|
||||
"queueLoopDesc": "Gesamte Warteschlange wird wiederholt",
|
||||
"loopOffDesc": "Wiederholung deaktiviert",
|
||||
"songLoopBadge": "Einzeltitel-Schleife",
|
||||
"queueLoopBadge": "Warteschlangen-Schleife",
|
||||
"loopOffBadge": "Aus"
|
||||
},
|
||||
"lyrics": {
|
||||
"nothingPlaying": "❌ Es wird gerade nichts abgespielt.",
|
||||
@@ -370,14 +400,22 @@
|
||||
"pause": {
|
||||
"nothingPlaying": "❌ Es wird gerade nichts abgespielt!",
|
||||
"alreadyPaused": "❌ Bereits pausiert!",
|
||||
"paused": "⏸️ Pausiert"
|
||||
"paused": "⏸️ Pausiert",
|
||||
"pausedTitle": "Wiedergabe Pausiert",
|
||||
"pausedAt": "Pausiert bei {{time}}",
|
||||
"resumeHint": "Tippe {{prefix}}resume zum Fortsetzen"
|
||||
},
|
||||
"ping": {
|
||||
"title": "🏓 Pong!",
|
||||
"measuring": "🏓 Ping wird gemessen...",
|
||||
"roundtrip": "📶 **Latenz**",
|
||||
"gateway": "🌐 **Gateway**",
|
||||
"node": "🎧 **NodeLink**"
|
||||
"node": "🎧 **NodeLink**",
|
||||
"pingDashboard": "Netzwerk- und Audio-Knoten-Status",
|
||||
"operational": "Betriebsbereit",
|
||||
"restApi": "REST-API",
|
||||
"gatewayWs": "Gateway-WebSocket",
|
||||
"audioNode": "Audio-Knoten"
|
||||
},
|
||||
"play": {
|
||||
"searching": "🔍 Suche...",
|
||||
@@ -386,6 +424,30 @@
|
||||
"added": "[{{title}}]({{url}}) erfolgreich zur Warteschlange hinzugefügt.",
|
||||
"addedPlaylist": "**{{count}}** Songs erfolgreich zur Warteschlange hinzugefügt.",
|
||||
"nowPlaying": "🎵 Spielt jetzt [{{title}}]({{url}}) von {{author}} in <#{{channel}}>",
|
||||
"addedToQueue": "Zur Warteschlange hinzugefügt",
|
||||
"position": "Position",
|
||||
"positionValue": "#{{position}} in Warteschlange",
|
||||
"positionNext": "Als nächstes",
|
||||
"duration": "Dauer",
|
||||
"estimatedWait": "Geschätzte Wartezeit",
|
||||
"estimatedWaitMinutes": "~{{minutes}} Min.",
|
||||
"estimatedWaitLessMinute": "< 1 Min.",
|
||||
"requestedBy": "Angefordert von {{user}}",
|
||||
"queueCount": "Warteschlange: {{count}} {{plural}}",
|
||||
"trackSingle": "Track",
|
||||
"trackPlural": "Tracks",
|
||||
"autoNowPlaying": "Spielt jetzt",
|
||||
"byAuthor": "von {{author}}",
|
||||
"upNext": "Weiter",
|
||||
"controlsHint": "Tippe {{prefix}}np für Player-Steuerung",
|
||||
"queueEndedTitle": "Warteschlange beendet",
|
||||
"queueEndedHeading": "Alles abgespielt!",
|
||||
"queueEndedBody": "Keine Songs mehr in der Warteschlange. Füge neue Songs mit `{{prefix}}play <song>` hinzu oder lass die Musik weiterlaufen!",
|
||||
"radioSuggestionTitle": "24/7 Radio",
|
||||
"radioSuggestionDesc": "Probiere `{{prefix}}radio` für Non-Stop-Sender",
|
||||
"autoplaySuggestionTitle": "Autoplay",
|
||||
"autoplaySuggestionDesc": "Tippe `{{prefix}}autoplay` für endlose Vorschläge",
|
||||
"voiceSessionPaused": "Sprachsitzung pausiert",
|
||||
"noResults": "**Keine Ergebnisse für '{{query}}' gefunden.**",
|
||||
"searchFailed": "**Suche fehlgeschlagen. Bitte versuche es erneut.**",
|
||||
"noData": "Track konnte nicht geladen werden — keine Daten zurückgegeben.",
|
||||
@@ -396,10 +458,34 @@
|
||||
"bilibiliResolving": "📺 Bilibili-Video wird aufgelöst...",
|
||||
"bilibiliNoAudio": "❌ Kein abspielbares Audio für **{{title}}** — das Video ist möglicherweise regional gesperrt, kostenpflichtig oder gelöscht.",
|
||||
"bilibiliError": "❌ Bilibili: {{message}}",
|
||||
"bilibiliDisabled": "❌ Bilibili-Wiedergabe ist deaktiviert (config.json → bilibili.enabled)."
|
||||
"bilibiliDisabled": "❌ Bilibili-Wiedergabe ist deaktiviert (config.json → bilibili.enabled).",
|
||||
"sourceRadio": "24/7 Radio",
|
||||
"sourceMusic": "Musik",
|
||||
"station": "Sender",
|
||||
"channel": "Kanal",
|
||||
"artist": "Künstler",
|
||||
"modeVol": "Modus / Lautstärke",
|
||||
"volume": "Lautstärke",
|
||||
"liveBroadcast": "Live-Übertragung",
|
||||
"customCut": "Benutzerdefinierter Schnitt",
|
||||
"unknownAuthor": "Unbekannter Künstler",
|
||||
"unknownTrack": "Unbekannter Track",
|
||||
"endOfQueue": "Ende der Warteschlange",
|
||||
"none": "Keine",
|
||||
"on": "Ein",
|
||||
"off": "Aus",
|
||||
"nowPlayingFooter": "Warteschlange: {{count}} {{plural}} ({{remaining}}) • Weiter: {{next}}",
|
||||
"nowPlayingFooterEmpty": "Warteschlange: Leer • Autoplay: {{autoplay}}",
|
||||
"loopSongLabel": "Track",
|
||||
"loopQueueLabel": "Warteschlange",
|
||||
"loopOffLabel": "Aus",
|
||||
"sourceSpotify": "Spotify",
|
||||
"sourceSoundcloud": "SoundCloud",
|
||||
"sourceYoutube": "YouTube"
|
||||
},
|
||||
"playnext": {
|
||||
"searching": "🔍 Suche..."
|
||||
"searching": "🔍 Suche...",
|
||||
"playingNext": "⚡ Als Nächstes • An der Spitze der Warteschlange (#1)"
|
||||
},
|
||||
"player": {
|
||||
"title": "🎧 Musik-Player-Steuerung",
|
||||
@@ -453,7 +539,8 @@
|
||||
"unknownStation": "❌ Unbekannter Sender `{{station}}`. Verfügbar: {{stations}}\n\nNutze `$prefixradio list` zum Durchsuchen.",
|
||||
"nowPlaying": "📻 Streamt jetzt _{{title}}_ von [{{author}}]({{url}}) in <#{{channel}}>",
|
||||
"skipHint": "_Nutze `$prefixskip`, um das Radio zu stoppen, oder `$prefixradio list`, um Sender zu wechseln._",
|
||||
"prevNext": "⬅️ Zurück ➡️ Weiter ❌ Abbrechen"
|
||||
"prevNext": "⬅️ Zurück ➡️ Weiter ❌ Abbrechen",
|
||||
"stationsAuthor": "24/7 Radiosender-Verzeichnis"
|
||||
},
|
||||
"reload": {
|
||||
"indexNoReload": "❌ `index.mjs` kann nicht neu geladen werden — führe einen vollständigen Neustart durch.",
|
||||
@@ -470,12 +557,20 @@
|
||||
},
|
||||
"remove": {
|
||||
"indexOutOfBounds": "Index außerhalb des Bereichs",
|
||||
"removed": "**{{title}}** erfolgreich aus der Warteschlange entfernt."
|
||||
"removed": "**{{title}}** erfolgreich aus der Warteschlange entfernt.",
|
||||
"removedAuthor": "🗑️ Aus der Warteschlange entfernt",
|
||||
"removedSingleDesc": "Titel an Position **#{{position}}** aus der Warteschlange entfernt.",
|
||||
"removedRangeTitle": "{{count}} Titel entfernt",
|
||||
"removedRangeDesc": "Positionen **#{{from}}** bis **#{{to}}** erfolgreich aus der Warteschlange entfernt.",
|
||||
"remainingFooter": "{{count}} Titel in der Warteschlange verbleibend • {{prefix}}list"
|
||||
},
|
||||
"resume": {
|
||||
"nothingPlaying": "❌ Es wird gerade nichts abgespielt!",
|
||||
"notPaused": "❌ Nicht pausiert!",
|
||||
"resumed": "▶️ Fortgesetzt"
|
||||
"resumed": "▶️ Fortgesetzt",
|
||||
"resumedTitle": "Wiedergabe Fortgesetzt",
|
||||
"resumedAt": "Fortgesetzt bei {{time}}",
|
||||
"pauseHint": "Tippe {{prefix}}pause zum Pausieren"
|
||||
},
|
||||
"search": {
|
||||
"loadingResults": "⏳ Lade Ergebnisse...",
|
||||
@@ -486,7 +581,8 @@
|
||||
"cancelled": "❌ Abgebrochen.",
|
||||
"added": "✅ [{{title}}]({{url}}) zur Warteschlange hinzugefügt!",
|
||||
"timedOut": "⏰ Suche abgelaufen.",
|
||||
"sessionClosed": "Sitzung geschlossen"
|
||||
"sessionClosed": "Sitzung geschlossen",
|
||||
"cancelOption": "Abbrechen"
|
||||
},
|
||||
"servers": {
|
||||
"noServers": "_Keine Server gefunden._",
|
||||
@@ -552,54 +648,36 @@
|
||||
"channelsLabelPlural": "{{count}} Kanäle",
|
||||
"thisServer": "dieser Server",
|
||||
"247Panel": {
|
||||
"title": "♾️ 24/7-Modus",
|
||||
"noChannelsSaved": "Keine Sprachkanäle gespeichert.",
|
||||
"gettingStarted": "Erste Schritte",
|
||||
"gettingStartedValue": "• `{{prefix}}247 on` — dauerhaft bleiben\n• `{{prefix}}247 auto` — bleiben + automatischer Wiederbeitritt nach Trennung",
|
||||
"footer": "{{prefix}}247 on | {{prefix}}247 auto | {{prefix}}247 off",
|
||||
"channelsSaved_one": "{{count}} Kanal gespeichert",
|
||||
"channelsSaved_other": "{{count}} Kanäle gespeichert",
|
||||
"summaryOn": "✅ {{count}} an",
|
||||
"summaryAuto": "🔄 {{count}} automatisch",
|
||||
"modeOn": "✅ An",
|
||||
"modeAuto": "🔄 Automatisch",
|
||||
"modeOff": "❌ Aus",
|
||||
"enabledTitle": "♾️ 24/7 {{mode}}",
|
||||
"enabledDescription": "{{channel}} → **{{mode}}** — {{summary}}",
|
||||
"enabledFooter": "{{prefix}}247 off zum Deaktivieren für einen Kanal",
|
||||
"savedChannels": "Gespeicherte Kanäle",
|
||||
"currentMarker": " ←",
|
||||
"disabledTitle": "♾️ 24/7 Deaktiviert",
|
||||
"noChannelsSavedField": "Keine Kanäle gespeichert",
|
||||
"allChannelsRemoved": "Alle 24/7-Kanäle entfernt. Bot verlässt nach Inaktivität.",
|
||||
"channelRemoved": "<#{{channel}}> entfernt",
|
||||
"channelsRemaining_one": "{{count}} Kanal verbleibend",
|
||||
"channelsRemaining_other": "{{count}} Kanäle verbleibend",
|
||||
"reenableFooter": "{{prefix}}247 on | {{prefix}}247 auto zum Reaktivieren",
|
||||
"allChannelsLabel": "❌ Alle Kanäle",
|
||||
"allChannelsDisabled": "24/7-Modus **deaktiviert** für alle Kanäle in diesem Server.\nBot verlässt nach Inaktivität.",
|
||||
"noChannelsSavedShort": "Keine Kanäle gespeichert",
|
||||
"joinFailed": "⚠️ 24/7 {{mode}} gespeichert, aber Beitritt zu <#{{channel}}> fehlgeschlagen.\nFehler: `{{error}}`\n\nVersuche `{{prefix}}join` oder `{{prefix}}play` später.",
|
||||
"statusConnected": "🟢 Verbunden",
|
||||
"statusReconnecting": "🟡 Verbinde neu",
|
||||
"statusOffline": "🔴 Offline",
|
||||
"autoRecoveryLine": "♻️ automatische Wiederherstellung aktiv — gespeicherte Kanäle werden alle {{seconds}}s geprüft",
|
||||
"autoRecoveryDisabledLine": "♻️ automatische Wiederherstellung auf Standby",
|
||||
"enabledLine": "✅ 24/7 ist **aktiviert** — der Bot bleibt verbunden und verbindet sich nach einer Trennung automatisch neu.",
|
||||
"disabledHint": "Tritt einem Sprachkanal bei und nutze `{{prefix}}247` zum Aktivieren.",
|
||||
"footerLine": "{{prefix}}247 · umschalten · {{prefix}}247 off · alles deaktivieren",
|
||||
"confirmEnabled": "✅ 24/7 in {{channel}} aktiviert — der Bot bleibt verbunden und verbindet sich nach einer Trennung automatisch neu.",
|
||||
"confirmDisabled": "❌ 24/7 in {{channel}} deaktiviert — der Bot verlässt den Kanal bei Inaktivität.",
|
||||
"confirmDisabledAll": "❌ 24/7 für alle Kanäle auf diesem Server deaktiviert — der Bot verlässt die Kanäle bei Inaktivität.",
|
||||
"disabledLine": "❌ 24/7 ist **deaktiviert**",
|
||||
"activeChannels_one": "✅ 24/7 aktiv in {{count}} Kanal:",
|
||||
"activeChannels_other": "✅ 24/7 aktiv in {{count}} Kanälen:"
|
||||
"watchdogAuthor": "📻 24/7-Voice-Watchdog-Monitor",
|
||||
"watchdogTitle": "Dauerhaftes Sprachsystem",
|
||||
"watchdogFieldRecovery": "Automatische Wiederherstellung",
|
||||
"watchdogFieldInactivity": "Inaktivitäts-Verlassen",
|
||||
"watchdogRecoveryArmed": "Aktiviert ({{seconds}}s-Prüfung)",
|
||||
"watchdogInactivitySuppressed": "Unterdrückt (24/7)",
|
||||
"watchdogStatusMonitoring": "ÜBERWACHUNG",
|
||||
"watchdogStatusStandby": "STANDBY",
|
||||
"watchdogFooter": "Modus umschalten mit {{prefix}}247 on oder {{prefix}}247 off • Watchdog Live"
|
||||
},
|
||||
"max247Channels": "Du kannst bis zu {{max}} 24/7-Sprachkanäle in einem Server speichern. Nutze `{{prefix}}247 off` zuerst in einem der gespeicherten Kanäle."
|
||||
"max247Channels": "Du kannst bis zu {{max}} 24/7-Sprachkanäle in einem Server speichern. Nutze `{{prefix}}247 off` zuerst in einem der gespeicherten Kanäle.",
|
||||
"categoryGeneral": "🌐 Allgemein & Lokalisierung",
|
||||
"categoryAudio": "🔊 Audio & Wiedergabe",
|
||||
"categoryVoice247": "📻 24/7-Sprachverbindung",
|
||||
"dashboardTitle": "⚙️ Server-Kontroll-Dashboard",
|
||||
"dashboardFooter": "Einstellungen ändern mit {{prefix}}settings set <key> <val> • {{prefix}}settings help",
|
||||
"statusActive247": "Aktiv 24/7",
|
||||
"statusActiveChannel": "Aktiv ({{channel}})",
|
||||
"statusActiveChannels": "Aktiv ({{count}} Kanäle)",
|
||||
"inspectorTitle": "⚙️ Einstellungs-Inspektor",
|
||||
"settingValueField": "Aktueller Wert",
|
||||
"settingDescField": "Beschreibung",
|
||||
"inspectorFooter": "Mit {{prefix}}settings set {{setting}} <val> aktualisieren"
|
||||
},
|
||||
"shuffle": {
|
||||
"emptyQueue": "Es gibt nichts zum Mischen in der Warteschlange.",
|
||||
"shuffled": "🔀 Warteschlange gemischt"
|
||||
"shuffled": "🔀 Warteschlange gemischt",
|
||||
"shuffledTitle": "Warteschlange Gemischt",
|
||||
"shuffledSummary": "{{count}} {{plural}} zufällig neu geordnet",
|
||||
"newUpNext": "Neuer Titel #1"
|
||||
},
|
||||
"skip": {
|
||||
"nothingPlaying": "❌ Es wird gerade nichts abgespielt!",
|
||||
@@ -607,7 +685,11 @@
|
||||
"skippedTrack": "⏭️ [{{title}}]({{url}}) übersprungen",
|
||||
"skippedToPosition": "⏭️ Zur Position {{position}} gesprungen",
|
||||
"voteAdded": "🗳️ Abstimmung zum Überspringen: **{{votes}}/{{needed}}**. Führe den Befehl erneut aus, um deine Stimme hinzuzufügen!",
|
||||
"alreadyVoted": "🗳️ Du hast bereits fürs Überspringen gestimmt! **{{votes}}/{{needed}}** Stimmen bisher."
|
||||
"alreadyVoted": "🗳️ Du hast bereits fürs Überspringen gestimmt! **{{votes}}/{{needed}}** Stimmen bisher.",
|
||||
"skippedTitle": "Titel Übersprungen",
|
||||
"skippedAt": "Übersprungen bei {{time}}",
|
||||
"upNext": "Als Nächstes",
|
||||
"queueRemaining": "{{count}} {{plural}} in der Warteschlange"
|
||||
},
|
||||
"stats": {
|
||||
"title": "Remix Musik-Bot",
|
||||
@@ -646,13 +728,20 @@
|
||||
"thumbnail": {
|
||||
"nothingPlaying": "Es wird gerade nichts abgespielt.",
|
||||
"noThumbnail": "Kein Thumbnail verfügbar.",
|
||||
"thumbnail": "Thumbnail von [{{title}}]({{url}}):"
|
||||
"thumbnail": "Thumbnail von [{{title}}]({{url}}):",
|
||||
"thumbTitle": "Album-Cover",
|
||||
"highRes": "Hohe Auflösung",
|
||||
"noArtwork": "❌ Kein Cover für diesen Titel verfügbar.",
|
||||
"expandHint": "Klicke auf das Bild zum Vergrößern"
|
||||
},
|
||||
"volume": {
|
||||
"current": "🔊 Aktuelle Lautstärke: `{{volume}}%`",
|
||||
"outOfRange": "❌ Lautstärke muss zwischen `0` und `{{max}}%` liegen.",
|
||||
"changed": "🔊 Lautstärke auf `{{volume}}%` für diese Sitzung geändert.",
|
||||
"setPending": "Lautstärke auf `{{volume}}%` gesetzt — wird beim Verbinden angewendet."
|
||||
"setPending": "Lautstärke auf `{{volume}}%` gesetzt — wird beim Verbinden angewendet.",
|
||||
"volumeAdjusted": "Lautstärke Angepasst",
|
||||
"currentVolume": "Aktuelle Lautstärke",
|
||||
"volumeHint": "Verwende {{prefix}}volume <0-150>"
|
||||
},
|
||||
"volumedefault": {
|
||||
"title": "🔊 Lautstärke-Einstellungen",
|
||||
@@ -662,7 +751,12 @@
|
||||
"noPermission": "⚠️ Du benötigst die **Server verwalten**-Berechtigung zum Ändern des Standards.",
|
||||
"noPermissionSet": "❌ Du benötigst die **Server verwalten**-Berechtigung zum Setzen der Standardlautstärke.",
|
||||
"outOfRange": "❌ Lautstärke muss zwischen `0` und `{{max}}%` liegen.",
|
||||
"saved": "🔊 Server-Standardlautstärke als `{{volume}}%` gespeichert."
|
||||
"saved": "🔊 Server-Standardlautstärke als `{{volume}}%` gespeichert.",
|
||||
"author": "🔊 Standard-Serverlautstärke",
|
||||
"fieldDefault": "Standard-Lautstärke",
|
||||
"fieldActive": "Aktuelle Sitzungslautstärke",
|
||||
"authorSaved": "🔊 Standard-Serverlautstärke gespeichert",
|
||||
"fieldNewDefault": "Neuer Standard-Pegel"
|
||||
},
|
||||
"gateway": {
|
||||
"missingPermsFallback": "⚠️ Mir fehlen Berechtigungen, die ich zum ordnungsgemäßen Arbeiten brauche! Fehlend: **{{perms}}**. Bitte einen Server-Administrator, diese Berechtigungen in Servereinstellungen → Rollen zu gewähren."
|
||||
@@ -771,7 +865,26 @@
|
||||
"noArtistTags": "🏷️ Keine Tags für Künstler **{{artist}}** gefunden.",
|
||||
"artistTagsTitle": "🏷️ Top-Tags für {{artist}}",
|
||||
"listeners": "Hörer",
|
||||
"leaderboardYourRank": "📍 Dein Rang: **#{{rank}}** ({{count}} Scrobbles)"
|
||||
"leaderboardYourRank": "📍 Dein Rang: **#{{rank}}** ({{count}} Scrobbles)",
|
||||
"crownHolder": "👑 Kronen-Inhaber (#1)",
|
||||
"serverLeaderboardAuthor": "👑 Server-Musik-Bestenliste",
|
||||
"trackLeaderboardAuthor": "👑 Titel-Musik-Bestenliste",
|
||||
"albumLeaderboardAuthor": "👑 Album-Musik-Bestenliste",
|
||||
"profileAuthor": "👤 Last.fm-Profilkarte",
|
||||
"profileFieldTotalScrobbles": "Gesamte Scrobbles",
|
||||
"profileFieldScrobbling": "Auto-Scrobbeln",
|
||||
"profileFieldArtists": "Entdeckte Künstler",
|
||||
"profileFieldRegistered": "Mitglied seit",
|
||||
"profileFooterPro": "Auto-Scrobbeln umschalten: {{prefix}}lastfm scrobble • {{prefix}}lastfm top",
|
||||
"artistSpotlightAuthor": "🎤 Künstler-Spotlight",
|
||||
"artistFieldListeners": "Hörer",
|
||||
"artistFieldPlays": "Globale Wiedergaben",
|
||||
"artistFieldUserPlays": "Deine Wiedergaben",
|
||||
"artistFieldSimilar": "Ähnliche Künstler",
|
||||
"artistFieldTags": "Genres & Tags",
|
||||
"artistFooterPro": "Server-Bestenliste: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums",
|
||||
"coverAuthor": "🖼️ Album-Cover-Galerie",
|
||||
"coverFooterPro": "Song-Thumbnail ansehen: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo"
|
||||
},
|
||||
"messages": {
|
||||
"missingCriticalPermsTitle": "Fehlende Berechtigungen — Bot kann nicht ordnungsgemäß arbeiten",
|
||||
@@ -818,11 +931,18 @@
|
||||
"exceedsDuration": "❌ Sprungposition überschreitet Track-Dauer (**{{duration}}**).",
|
||||
"seeked": "⏩ Gesprungen zu **{{position}}**",
|
||||
"notSupported": "❌ Springen wird vom aktuellen Audio-Knoten nicht unterstützt.",
|
||||
"failed": "❌ Springen fehlgeschlagen: {{error}}"
|
||||
"failed": "❌ Springen fehlgeschlagen: {{error}}",
|
||||
"seekTitle": "Position Angesteuert",
|
||||
"seekSubtitle": "{{position}} / {{duration}}"
|
||||
},
|
||||
"autoplay": {
|
||||
"enabled": "🔁 Autoplay **aktiviert** — ähnliche Tracks werden automatisch hinzugefügt, wenn die Warteschlange endet.",
|
||||
"disabled": "➡️ Autoplay **deaktiviert** — der Bot stoppt, wenn die Warteschlange endet."
|
||||
"disabled": "➡️ Autoplay **deaktiviert** — der Bot stoppt, wenn die Warteschlange endet.",
|
||||
"autoplayTitleEnabled": "Endloses Autoplay Aktiviert",
|
||||
"autoplayTitleDisabled": "Autoplay Deaktiviert",
|
||||
"autoplayDescEnabled": "Remix fügt automatisch empfohlene Titel hinzu, wenn die Warteschlange endet.",
|
||||
"autoplayDescDisabled": "Autoplay wurde deaktiviert. Die Wiedergabe stoppt am Ende der Warteschlange.",
|
||||
"autoplayEngine": "Engine: YouTube Mix + Last.fm"
|
||||
},
|
||||
"trackopt": {
|
||||
"notAvailable": "❌ Track-Optionen-Funktion ist nicht verfügbar.",
|
||||
@@ -850,30 +970,62 @@
|
||||
"listEmpty": "📭 Du hast keine gespeicherten Track-Optionen. Verwende `{{prefix}}trackopt set <start> [end]`, um eine hinzuzufügen!",
|
||||
"listTitle": "📋 **Deine Track-Optionen** ({{count}})",
|
||||
"listEntry": "• **{{title}}** — {{start}} → {{end}}",
|
||||
"listHint": "Verwende `{{prefix}}trackopt play <alias>`, um einen benannten Trim anzuwenden, oder `{{prefix}}trackopt remove [alias]`, um einen zu löschen."
|
||||
"listHint": "Verwende `{{prefix}}trackopt play <alias>`, um einen benannten Trim anzuwenden, oder `{{prefix}}trackopt remove [alias]`, um einen zu löschen.",
|
||||
"savedAuthor": "✂️ Benutzerdefinierter Titel-Trim gespeichert",
|
||||
"playbackWindowField": "Wiedergabefenster",
|
||||
"aliasField": "Alias",
|
||||
"activeTrimField": "Aktiver Trim",
|
||||
"playHintFooter": "Spiele diesen Trim jederzeit ab mit: {{prefix}}trackopt play {{alias}}",
|
||||
"savedListAuthor": "✂️ Gespeicherte Titel-Trims",
|
||||
"trimProfilesFooter": "{{count}} Trim-Profil{{plural}} gespeichert • Anwenden mit {{prefix}}trackopt play <alias>",
|
||||
"appliedAuthor": "✂️ Titel-Trim angewendet",
|
||||
"activeCutRangeField": "Aktiver Schnittbereich"
|
||||
},
|
||||
"normalize": {
|
||||
"statusEnabled": "🔊 Dynamische Lautstärkenormalisierung (ReplayGain) ist für diesen Server derzeit **Aktiviert**.",
|
||||
"statusDisabled": "🔇 Dynamische Lautstärkenormalisierung (ReplayGain) ist für diesen Server derzeit **Deaktiviert**.",
|
||||
"info": "Wenn aktiviert, wird die Lautstärke dynamisch an den internationalen Standard von -14 LUFS angepasst, sodass leise akustische Lieder und laute Tracks mit ausgeglichener Lautstärke spielen.",
|
||||
"trackInfo": "Aktuelle Track-Info:\n• Quelle: `{{source}}`\n• Verstärkungsanpassung: `{{gainDb}} dB` ({{gainPct}}%)\n• Effektive Lautstärke: `{{effective}}%`"
|
||||
"trackInfo": "Aktuelle Track-Info:\n• Quelle: `{{source}}`\n• Verstärkungsanpassung: `{{gainDb}} dB` ({{gainPct}}%)\n• Effektive Lautstärke: `{{effective}}%`",
|
||||
"headerAuthor": "🎚️ Dynamische Lautstärke-Normalisierung",
|
||||
"headerTitle": "EBU R128 Audio-Pegelung",
|
||||
"footer": "Gleicht Lautstärkeunterschiede zwischen YouTube, Spotify & SoundCloud aus",
|
||||
"fieldSource": "Titelquelle",
|
||||
"fieldGainOffset": "Verstärkungs-Offset",
|
||||
"fieldEffectiveVolume": "Effektive Lautstärke"
|
||||
},
|
||||
"bassboost": {
|
||||
"disabled": "🔇 Bass-Boost deaktiviert — ursprüngliche Audiobalance wiederhergestellt.",
|
||||
"applied": "🔊 **Bass-Boost ({{level}})** angewendet! Echtzeit-Equalizer aktiv.",
|
||||
"failed": "❌ Bass-Boost konnte nicht angewendet werden: {{reason}}"
|
||||
"failed": "❌ Bass-Boost konnte nicht angewendet werden: {{reason}}",
|
||||
"eqTitle": "Equalizer-Voreinstellung Angewendet",
|
||||
"subBass": "Sub-Bass",
|
||||
"midBass": "Mittel-Bass",
|
||||
"high": "Höhen",
|
||||
"resetHint": "Jederzeit zurücksetzen mit {{prefix}}bassboost off"
|
||||
},
|
||||
"speed": {
|
||||
"reset": "⏩ Wiedergabegeschwindigkeit auf normale **1.0×** zurückgesetzt.",
|
||||
"current": "⏩ Aktuelle Wiedergabegeschwindigkeit: **{{speed}}×**.\nVerwende `{{prefix}}speed <0.5-2.0>`, um die Geschwindigkeit zu ändern.",
|
||||
"set": "{{emoji}} Wiedergabegeschwindigkeit auf **{{speed}}×** gesetzt.",
|
||||
"failed": "❌ Geschwindigkeit konnte nicht geändert werden: {{reason}}"
|
||||
"failed": "❌ Geschwindigkeit konnte nicht geändert werden: {{reason}}",
|
||||
"speedTitle": "Wiedergabegeschwindigkeit Angepasst",
|
||||
"speedMultiplier": "{{speed}}× Multiplikator",
|
||||
"resetHint": "Jederzeit zurücksetzen mit {{prefix}}speed"
|
||||
},
|
||||
"pitch": {
|
||||
"reset": "🎵 Tonhöhe auf normale **1.0×** zurückgesetzt.",
|
||||
"current": "🎵 Aktuelle Tonhöhe: **{{pitch}}×**.\nVerwende `{{prefix}}pitch <0.5-2.0>`, um die Tonhöhe zu ändern.",
|
||||
"set": "🎵 Tonhöhe auf **{{pitch}}×** gesetzt.",
|
||||
"failed": "❌ Tonhöhe konnte nicht geändert werden: {{reason}}"
|
||||
"failed": "❌ Tonhöhe konnte nicht geändert werden: {{reason}}",
|
||||
"pitchTitle": "Tonhöhe Angepasst",
|
||||
"pitchMultiplier": "{{pitch}}× Tonhöhenverschiebung",
|
||||
"resetHint": "Jederzeit zurücksetzen mit {{prefix}}pitch"
|
||||
},
|
||||
"move": {
|
||||
"reorderedAuthor": "🔀 Titel neu angeordnet",
|
||||
"reorderedDesc": "Von Position **#{{from}}** ➔ **#{{to}}** in der Warteschlange verschoben.",
|
||||
"nowPlayingNext": "Wird als Nächstes nach dem aktuellen Titel abgespielt • {{prefix}}np",
|
||||
"viewUpdatedQueue": "{{prefix}}list um die aktualisierte Warteschlange anzuzeigen"
|
||||
}
|
||||
}
|
||||
}
|
||||
+223
-71
@@ -33,7 +33,9 @@
|
||||
"aliasesLabel": "Aliases: ",
|
||||
"requirements": "Requirements: ",
|
||||
"permission": "Permission `{{$permission}}`",
|
||||
"optionCount": "{{$count}} option(s)"
|
||||
"optionCount": "{{$count}} option(s)",
|
||||
"commandInspectorAuthor": "Command Help • {{prefix}}{{name}}",
|
||||
"commandInspectorFooter": "Type {{prefix}}help for full command list • Category: {{category}}"
|
||||
},
|
||||
"invalidFlag": "Invalid flag `$invalidFlag`. It doesn't match any options on this command.\n`$previousCmd $invalidFlag`",
|
||||
"textWrapError": "Malformed string `{{$value}}`: Missing a closing quote character (`{{$quote}}`) after the desired string.",
|
||||
@@ -245,7 +247,9 @@
|
||||
"joinFailedNotFound": "❌ Could not find that voice channel."
|
||||
},
|
||||
"clear": {
|
||||
"cleared": "🗑️ Queue cleared."
|
||||
"cleared": "🗑️ Queue cleared.",
|
||||
"clearedTitle": "Queue Cleared",
|
||||
"clearedSummary": "Removed {{count}} {{plural}} from the queue"
|
||||
},
|
||||
"debug": {
|
||||
"voiceTitle": "🔧 Voice Debug",
|
||||
@@ -282,7 +286,10 @@
|
||||
"pickerClosed": "👋 Filter picker closed.",
|
||||
"footer": "Page {{page}}/{{total}} • React with a filter emoji to toggle it",
|
||||
"activeLabel": "**← active**",
|
||||
"closeHint": "❌ Close"
|
||||
"closeHint": "❌ Close",
|
||||
"activePrefix": "Active:",
|
||||
"realtimeDsp": "Real-time DSP",
|
||||
"navHint": "React with emoji to toggle • ❌ to close"
|
||||
},
|
||||
"forceleave": {
|
||||
"channelNotFound": "❌ Channel not found.",
|
||||
@@ -309,7 +316,14 @@
|
||||
"autoLeaveInactive": "Left channel <#{{channel}}> because of inactivity.",
|
||||
"autoLeaveInactive247": "Left channel <#{{channel}}> because of inactivity.\nIf you want me to stay in voice, use `{{prefix}}247 on` or `{{prefix}}247 auto`\nUse `{{prefix}}247` to view and manage all saved channels.",
|
||||
"joinFailedPerms": "❌ I don't have permission to join <#{{channel}}>. Please check that I have the **Connect** permission.",
|
||||
"voiceChannelUnknown": "unknown voice channel"
|
||||
"voiceChannelUnknown": "unknown voice channel",
|
||||
"sessionStartedTitle": "Voice Session Connected",
|
||||
"joinedChannel": "Connected to {{channel}}",
|
||||
"connectedBadge": "Connected",
|
||||
"connectedAuthor": "🟢 Connected to Voice",
|
||||
"selectVCAuthor": "🔊 Select a Voice Channel",
|
||||
"selectVCFooter": "React 1-9 to connect • Session expires in 30s",
|
||||
"playPromptFooter": "Play music anytime with {{prefix}}play <song>"
|
||||
},
|
||||
"leave": {
|
||||
"noVoiceChannel": "⚠️ I can't find you in a voice channel. Please join one, or if you're already in one, make sure I have **View Channel** and **Connect** permissions. You can also specify a channel: `{{prefix}}leave <#channel>`",
|
||||
@@ -322,7 +336,12 @@
|
||||
"left": "✅ Successfully Left",
|
||||
"leftRejoin247": "✅ Successfully Left — rejoining <#{{channel}}> in a few seconds.\nTo disable 24/7 mode permanently, use `{{prefix}}247 off`.",
|
||||
"left247On": "✅ Successfully Left.\n24/7 mode is **on** — bot won't rejoin automatically. Use `{{prefix}}play` to bring it back, or `{{prefix}}247 off` to fully disable.\nUse `{{prefix}}247` to view all saved channels.",
|
||||
"autoRejoinHint": "⚠️ 24/7 mode is enabled (auto) — I'll rejoin <#{{channel}}> in a few seconds.\nTo permanently remove me, disable 24/7 mode first: `{{prefix}}247 off`"
|
||||
"autoRejoinHint": "⚠️ 24/7 mode is enabled (auto) — I'll rejoin <#{{channel}}> in a few seconds.\nTo permanently remove me, disable 24/7 mode first: `{{prefix}}247 off`",
|
||||
"sessionEndedTitle": "Voice Session Ended",
|
||||
"leftChannel": "Left {{channel}}",
|
||||
"disconnectedBadge": "Disconnected",
|
||||
"queueCleared": "Queue cleared",
|
||||
"rejoinHint": "Join anytime with {{prefix}}join or {{prefix}}play"
|
||||
},
|
||||
"lastfm": {
|
||||
"notConfigured": "❌ Last.fm integration is not configured on this bot. Ask the bot owner to add a Last.fm API key to the config.",
|
||||
@@ -428,7 +447,26 @@
|
||||
"noArtistTags": "🏷️ No tags found for artist **{{artist}}**.",
|
||||
"artistTagsTitle": "🏷️ Top Tags for {{artist}}",
|
||||
"listeners": "listeners",
|
||||
"leaderboardYourRank": "📍 Your rank: **#{{rank}}** ({{count}} scrobbles)"
|
||||
"leaderboardYourRank": "📍 Your rank: **#{{rank}}** ({{count}} scrobbles)",
|
||||
"crownHolder": "👑 Crown Holder (#1)",
|
||||
"serverLeaderboardAuthor": "👑 Server Music Leaderboard",
|
||||
"trackLeaderboardAuthor": "👑 Track Music Leaderboard",
|
||||
"albumLeaderboardAuthor": "👑 Album Music Leaderboard",
|
||||
"profileAuthor": "👤 Last.fm Profile Card",
|
||||
"profileFieldTotalScrobbles": "Total Scrobbles",
|
||||
"profileFieldScrobbling": "Auto-Scrobbling",
|
||||
"profileFieldArtists": "Artists Explored",
|
||||
"profileFieldRegistered": "Member Since",
|
||||
"profileFooterPro": "Toggle auto-scrobbling: {{prefix}}lastfm scrobble • {{prefix}}lastfm top",
|
||||
"artistSpotlightAuthor": "🎤 Artist Spotlight",
|
||||
"artistFieldListeners": "Listeners",
|
||||
"artistFieldPlays": "Global Plays",
|
||||
"artistFieldUserPlays": "Your Plays",
|
||||
"artistFieldSimilar": "Similar Artists",
|
||||
"artistFieldTags": "Genres & Tags",
|
||||
"artistFooterPro": "Server leaderboard: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums",
|
||||
"coverAuthor": "🖼️ Album Artwork Gallery",
|
||||
"coverFooterPro": "View song thumbnail: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo"
|
||||
},
|
||||
"list": {
|
||||
"empty": "📭 The queue is empty. Use `{{prefix}}play` to add songs!",
|
||||
@@ -436,14 +474,25 @@
|
||||
"nowPlaying": "🎵 **Now Playing**",
|
||||
"header": "📋 **{{count}} tracks in queue** • ⏱️ `{{time}}`",
|
||||
"upNext": " ▶",
|
||||
"queueTitle": "🎧 Queue"
|
||||
"queueTitle": "🎧 Queue",
|
||||
"tracksCount": "{{count}} {{plural}} in queue",
|
||||
"nowPlayingHeader": "Now Playing",
|
||||
"upNextHeader": "Up Next",
|
||||
"pageFooter": "Page {{page}}/{{totalPages}} • Loop: {{loopState}}"
|
||||
},
|
||||
"loop": {
|
||||
"invalidChoice": "'{{choice}}' is not valid. Use `song` or `queue`",
|
||||
"songActivated": "🔂 Song loop activated",
|
||||
"songDisabled": "➡️ Song loop disabled",
|
||||
"queueActivated": "🔁 Queue loop activated",
|
||||
"queueDisabled": "➡️ Queue loop disabled"
|
||||
"queueDisabled": "➡️ Queue loop disabled",
|
||||
"loopTitle": "Repeat Mode Updated",
|
||||
"songLoopDesc": "Currently repeating current track",
|
||||
"queueLoopDesc": "Currently repeating entire queue",
|
||||
"loopOffDesc": "Looping disabled",
|
||||
"songLoopBadge": "Single Track Loop",
|
||||
"queueLoopBadge": "Queue Loop",
|
||||
"loopOffBadge": "Loop Off"
|
||||
},
|
||||
"queue": {
|
||||
"empty": "The queue is empty.",
|
||||
@@ -487,14 +536,22 @@
|
||||
"pause": {
|
||||
"nothingPlaying": "❌ There's nothing playing at the moment!",
|
||||
"alreadyPaused": "❌ Already paused!",
|
||||
"paused": "⏸️ Paused"
|
||||
"paused": "⏸️ Paused",
|
||||
"pausedTitle": "Playback Paused",
|
||||
"pausedAt": "Paused at {{time}}",
|
||||
"resumeHint": "Type {{prefix}}resume to continue"
|
||||
},
|
||||
"ping": {
|
||||
"title": "🏓 Pong!",
|
||||
"measuring": "🏓 Pinging...",
|
||||
"roundtrip": "📶 **Roundtrip**",
|
||||
"gateway": "🌐 **Gateway**",
|
||||
"node": "🎧 **NodeLink**"
|
||||
"node": "🎧 **NodeLink**",
|
||||
"pingDashboard": "Network & Node Health",
|
||||
"operational": "Operational",
|
||||
"restApi": "REST API",
|
||||
"gatewayWs": "Gateway WebSocket",
|
||||
"audioNode": "Audio Node"
|
||||
},
|
||||
"play": {
|
||||
"searching": "🔍 Searching...",
|
||||
@@ -503,6 +560,30 @@
|
||||
"added": "Successfully added [{{title}}]({{url}}) to the queue.",
|
||||
"addedPlaylist": "Successfully added **{{count}}** songs to the queue.",
|
||||
"nowPlaying": "🎵 Now playing [{{title}}]({{url}}) by {{author}} in <#{{channel}}>",
|
||||
"addedToQueue": "Added to Queue",
|
||||
"position": "Position",
|
||||
"positionValue": "#{{position}} in queue",
|
||||
"positionNext": "Up Next",
|
||||
"duration": "Duration",
|
||||
"estimatedWait": "Estimated Play",
|
||||
"estimatedWaitMinutes": "~{{minutes}} mins",
|
||||
"estimatedWaitLessMinute": "< 1 min",
|
||||
"requestedBy": "Requested by {{user}}",
|
||||
"queueCount": "Queue: {{count}} {{plural}}",
|
||||
"trackSingle": "track",
|
||||
"trackPlural": "tracks",
|
||||
"autoNowPlaying": "Now Playing",
|
||||
"byAuthor": "by {{author}}",
|
||||
"upNext": "Next",
|
||||
"controlsHint": "Type {{prefix}}np for player controls",
|
||||
"queueEndedTitle": "Queue Finished",
|
||||
"queueEndedHeading": "All caught up!",
|
||||
"queueEndedBody": "No more songs left in queue. Add more songs with `{{prefix}}play <song>` or keep the party going!",
|
||||
"radioSuggestionTitle": "24/7 Radio",
|
||||
"radioSuggestionDesc": "Try `{{prefix}}radio` for non-stop music",
|
||||
"autoplaySuggestionTitle": "Autoplay",
|
||||
"autoplaySuggestionDesc": "Type `{{prefix}}autoplay` for endless tracks",
|
||||
"voiceSessionPaused": "Voice Session Paused",
|
||||
"noResults": "**No results found for '{{query}}'.**",
|
||||
"searchFailed": "**Search failed. Please try again.**",
|
||||
"noData": "Could not load track - no data returned.",
|
||||
@@ -513,10 +594,34 @@
|
||||
"bilibiliResolving": "📺 Resolving Bilibili video...",
|
||||
"bilibiliNoAudio": "❌ No playable audio for **{{title}}** — the video may be region-locked, premium-only, or deleted.",
|
||||
"bilibiliError": "❌ Bilibili: {{message}}",
|
||||
"bilibiliDisabled": "❌ Bilibili playback is disabled (config.json → bilibili.enabled)."
|
||||
"bilibiliDisabled": "❌ Bilibili playback is disabled (config.json → bilibili.enabled).",
|
||||
"sourceRadio": "24/7 Radio",
|
||||
"sourceMusic": "Music",
|
||||
"station": "Station",
|
||||
"channel": "Channel",
|
||||
"artist": "Artist",
|
||||
"modeVol": "Mode / Vol",
|
||||
"volume": "Volume",
|
||||
"liveBroadcast": "Live Broadcast",
|
||||
"customCut": "Custom Cut",
|
||||
"unknownAuthor": "Unknown Artist",
|
||||
"unknownTrack": "Unknown Track",
|
||||
"endOfQueue": "End of queue",
|
||||
"none": "None",
|
||||
"on": "On",
|
||||
"off": "Off",
|
||||
"nowPlayingFooter": "Queue: {{count}} {{plural}} ({{remaining}}) • Next: {{next}}",
|
||||
"nowPlayingFooterEmpty": "Queue: Empty • Autoplay: {{autoplay}}",
|
||||
"loopSongLabel": "Song",
|
||||
"loopQueueLabel": "Queue",
|
||||
"loopOffLabel": "Off",
|
||||
"sourceSpotify": "Spotify",
|
||||
"sourceSoundcloud": "SoundCloud",
|
||||
"sourceYoutube": "YouTube"
|
||||
},
|
||||
"playnext": {
|
||||
"searching": "🔍 Searching..."
|
||||
"searching": "🔍 Searching...",
|
||||
"playingNext": "⚡ Playing Next • Top of Queue (#1)"
|
||||
},
|
||||
"player": {
|
||||
"title": "🎧 Music Player Controls",
|
||||
@@ -570,7 +675,8 @@
|
||||
"unknownStation": "❌ Unknown station `{{station}}`. Available: {{stations}}\n\nUse `$prefixradio list` to browse.",
|
||||
"nowPlaying": "📻 Now streaming _{{title}}_ by [{{author}}]({{url}}) in <#{{channel}}>",
|
||||
"skipHint": "_Use `$prefixskip` to stop the radio, or `$prefixradio list` to switch stations._",
|
||||
"prevNext": "⬅️ Previous ➡️ Next ❌ Cancel"
|
||||
"prevNext": "⬅️ Previous ➡️ Next ❌ Cancel",
|
||||
"stationsAuthor": "24/7 Radio Station Directory"
|
||||
},
|
||||
"reload": {
|
||||
"indexNoReload": "❌ `index.mjs` cannot be hot-reloaded — do a full restart.",
|
||||
@@ -587,12 +693,20 @@
|
||||
},
|
||||
"remove": {
|
||||
"indexOutOfBounds": "Index out of bounds",
|
||||
"removed": "Successfully removed **{{title}}** from the queue."
|
||||
"removed": "Successfully removed **{{title}}** from the queue.",
|
||||
"removedAuthor": "🗑️ Removed from Queue",
|
||||
"removedSingleDesc": "Removed track at position **#{{position}}** from the queue.",
|
||||
"removedRangeTitle": "Removed {{count}} Tracks",
|
||||
"removedRangeDesc": "Successfully removed positions **#{{from}}** to **#{{to}}** from the queue.",
|
||||
"remainingFooter": "{{count}} track{{plural}} remaining in queue • {{prefix}}list"
|
||||
},
|
||||
"resume": {
|
||||
"nothingPlaying": "❌ There's nothing playing at the moment!",
|
||||
"notPaused": "❌ Not paused!",
|
||||
"resumed": "▶️ Resumed"
|
||||
"resumed": "▶️ Resumed",
|
||||
"resumedTitle": "Playback Resumed",
|
||||
"resumedAt": "Resumed at {{time}}",
|
||||
"pauseHint": "Type {{prefix}}pause to pause"
|
||||
},
|
||||
"search": {
|
||||
"loadingResults": "⏳ Loading results...",
|
||||
@@ -603,7 +717,8 @@
|
||||
"cancelled": "❌ Cancelled.",
|
||||
"added": "✅ Added [{{title}}]({{url}}) to the queue!",
|
||||
"timedOut": "⏰ Search timed out.",
|
||||
"sessionClosed": "Session closed"
|
||||
"sessionClosed": "Session closed",
|
||||
"cancelOption": "Cancel"
|
||||
},
|
||||
"servers": {
|
||||
"noServers": "_No servers found._",
|
||||
@@ -670,53 +785,35 @@
|
||||
"thisServer": "this server",
|
||||
"max247Channels": "You can save up to {{max}} 24/7 voice channels in one server. Use `{{prefix}}247 off` in one of the saved channels first.",
|
||||
"247Panel": {
|
||||
"title": "♾️ 24/7 Mode",
|
||||
"noChannelsSaved": "No voice channels saved.",
|
||||
"gettingStarted": "Getting Started",
|
||||
"gettingStartedValue": "• `{{prefix}}247 on` — stay permanently\n• `{{prefix}}247 auto` — stay + auto-rejoin after disconnect",
|
||||
"footer": "{{prefix}}247 on | {{prefix}}247 auto | {{prefix}}247 off",
|
||||
"channelsSaved_one": "{{count}} channel saved",
|
||||
"channelsSaved_other": "{{count}} channels saved",
|
||||
"summaryOn": "✅ {{count}} on",
|
||||
"summaryAuto": "🔄 {{count}} auto",
|
||||
"modeOn": "✅ On",
|
||||
"modeAuto": "🔄 Auto",
|
||||
"modeOff": "❌ Off",
|
||||
"enabledTitle": "♾️ 24/7 {{mode}}",
|
||||
"enabledDescription": "{{channel}} → **{{mode}}** — {{summary}}",
|
||||
"enabledFooter": "{{prefix}}247 off to disable for a channel",
|
||||
"savedChannels": "Saved Channels",
|
||||
"currentMarker": " ←",
|
||||
"disabledTitle": "♾️ 24/7 Disabled",
|
||||
"noChannelsSavedField": "No Channels Saved",
|
||||
"allChannelsRemoved": "All 24/7 channels removed. Bot will leave voice after inactivity.",
|
||||
"channelRemoved": "<#{{channel}}> removed",
|
||||
"channelsRemaining_one": "{{count}} channel remaining",
|
||||
"channelsRemaining_other": "{{count}} channels remaining",
|
||||
"reenableFooter": "{{prefix}}247 on | {{prefix}}247 auto to re-enable",
|
||||
"allChannelsLabel": "❌ All Channels",
|
||||
"allChannelsDisabled": "24/7 mode **disabled** for all channels in this server.\nThe bot will leave voice after inactivity.",
|
||||
"noChannelsSavedShort": "No channels saved",
|
||||
"joinFailed": "⚠️ 24/7 {{mode}} saved, but failed to join <#{{channel}}>.\nError: `{{error}}`\n\nTry `{{prefix}}join` or `{{prefix}}play` later.",
|
||||
"statusConnected": "🟢 Connected",
|
||||
"statusReconnecting": "🟡 Reconnecting",
|
||||
"statusOffline": "🔴 Offline",
|
||||
"autoRecoveryLine": "♻️ Auto-recovery active — saved channels are checked every {{seconds}}s",
|
||||
"autoRecoveryDisabledLine": "♻️ Auto-recovery standing by",
|
||||
"enabledLine": "✅ 24/7 is **enabled** — the bot stays connected and auto-rejoins if disconnected.",
|
||||
"disabledHint": "Join a voice channel and use `{{prefix}}247` to enable.",
|
||||
"footerLine": "{{prefix}}247 · toggle · {{prefix}}247 off · disable all",
|
||||
"confirmEnabled": "✅ 24/7 enabled in {{channel}} — the bot will stay connected and auto-rejoin if disconnected.",
|
||||
"confirmDisabled": "❌ 24/7 disabled in {{channel}} — the bot will leave when idle.",
|
||||
"confirmDisabledAll": "❌ 24/7 disabled for all channels in this server — the bot will leave when idle.",
|
||||
"disabledLine": "❌ 24/7 is **disabled**",
|
||||
"activeChannels_one": "✅ 24/7 active in {{count}} channel:",
|
||||
"activeChannels_other": "✅ 24/7 active in {{count}} channels:"
|
||||
}
|
||||
"watchdogAuthor": "📻 24/7 Voice Watchdog Monitor",
|
||||
"watchdogTitle": "Always-On Voice System",
|
||||
"watchdogFieldRecovery": "Auto-Recovery",
|
||||
"watchdogFieldInactivity": "Inactivity Leave",
|
||||
"watchdogRecoveryArmed": "Armed ({{seconds}}s Sweep)",
|
||||
"watchdogInactivitySuppressed": "Suppressed (24/7)",
|
||||
"watchdogStatusMonitoring": "MONITORING",
|
||||
"watchdogStatusStandby": "STANDBY",
|
||||
"watchdogFooter": "Toggle mode with {{prefix}}247 on or {{prefix}}247 off • Watchdog Live"
|
||||
},
|
||||
"categoryGeneral": "🌐 General & Localization",
|
||||
"categoryAudio": "🔊 Audio & Playback",
|
||||
"categoryVoice247": "📻 24/7 Voice Connection",
|
||||
"dashboardTitle": "⚙️ Server Control Dashboard",
|
||||
"dashboardFooter": "Change settings with {{prefix}}settings set <key> <val> • {{prefix}}settings help",
|
||||
"statusActive247": "Active 24/7",
|
||||
"statusActiveChannel": "Active ({{channel}})",
|
||||
"statusActiveChannels": "Active ({{count}} channels)",
|
||||
"inspectorTitle": "⚙️ Setting Inspector",
|
||||
"settingValueField": "Current Value",
|
||||
"settingDescField": "Description",
|
||||
"inspectorFooter": "Use {{prefix}}settings set {{setting}} <val> to update"
|
||||
},
|
||||
"shuffle": {
|
||||
"emptyQueue": "There is nothing to shuffle in the queue.",
|
||||
"shuffled": "🔀 Shuffled queue"
|
||||
"shuffled": "🔀 Shuffled queue",
|
||||
"shuffledTitle": "Queue Shuffled",
|
||||
"shuffledSummary": "{{count}} {{plural}} randomly reordered",
|
||||
"newUpNext": "New #1 Up Next"
|
||||
},
|
||||
"skip": {
|
||||
"nothingPlaying": "❌ There's nothing playing at the moment!",
|
||||
@@ -724,7 +821,11 @@
|
||||
"skippedTrack": "⏭️ Skipped [{{title}}]({{url}})",
|
||||
"skippedToPosition": "⏭️ Skipped to position {{position}}",
|
||||
"voteAdded": "🗳️ Vote to skip: **{{votes}}/{{needed}}**. Run this command again to add your vote!",
|
||||
"alreadyVoted": "🗳️ You've already voted to skip! **{{votes}}/{{needed}}** votes so far."
|
||||
"alreadyVoted": "🗳️ You've already voted to skip! **{{votes}}/{{needed}}** votes so far.",
|
||||
"skippedTitle": "Track Skipped",
|
||||
"skippedAt": "Skipped at {{time}}",
|
||||
"upNext": "Up Next",
|
||||
"queueRemaining": "{{count}} {{plural}} in queue"
|
||||
},
|
||||
"stats": {
|
||||
"title": "Remix Music Bot",
|
||||
@@ -763,13 +864,20 @@
|
||||
"thumbnail": {
|
||||
"nothingPlaying": "There's nothing playing at the moment.",
|
||||
"noThumbnail": "No thumbnail available.",
|
||||
"thumbnail": "Thumbnail of [{{title}}]({{url}}):"
|
||||
"thumbnail": "Thumbnail of [{{title}}]({{url}}):",
|
||||
"thumbTitle": "Album Artwork",
|
||||
"highRes": "High Resolution",
|
||||
"noArtwork": "❌ No thumbnail available for this track.",
|
||||
"expandHint": "Click image to expand"
|
||||
},
|
||||
"volume": {
|
||||
"current": "🔊 Current volume: `{{volume}}%`",
|
||||
"outOfRange": "❌ Volume must be between `0` and `{{max}}%`.",
|
||||
"changed": "🔊 Volume changed to `{{volume}}%` for this session.",
|
||||
"setPending": "Volume set to `{{volume}}%` — will apply when connected."
|
||||
"setPending": "Volume set to `{{volume}}%` — will apply when connected.",
|
||||
"volumeAdjusted": "Volume Adjusted",
|
||||
"currentVolume": "Current Volume",
|
||||
"volumeHint": "Use {{prefix}}volume <0-150>"
|
||||
},
|
||||
"vote": {
|
||||
"notConfigured": "❌ FluxerList integration is not configured on this bot. Ask the bot owner to add a FluxerList API key to the config.",
|
||||
@@ -808,7 +916,12 @@
|
||||
"noPermission": "⚠️ You need **Manage Server** permission to change the default.",
|
||||
"noPermissionSet": "❌ You need **Manage Server** permission to set the server default volume.",
|
||||
"outOfRange": "❌ Volume must be between `0` and `{{max}}%`.",
|
||||
"saved": "🔊 Server default volume saved as `{{volume}}%`."
|
||||
"saved": "🔊 Server default volume saved as `{{volume}}%`.",
|
||||
"author": "🔊 Server Default Volume",
|
||||
"fieldDefault": "Default Volume",
|
||||
"fieldActive": "Active Session Volume",
|
||||
"authorSaved": "🔊 Server Default Volume Saved",
|
||||
"fieldNewDefault": "New Default Level"
|
||||
},
|
||||
"seek": {
|
||||
"nothingPlaying": "❌ There's nothing playing at the moment!",
|
||||
@@ -818,11 +931,18 @@
|
||||
"exceedsDuration": "❌ Seek position exceeds track duration (**{{duration}}**).",
|
||||
"seeked": "⏩ Seeked to **{{position}}**",
|
||||
"notSupported": "❌ Seeking is not supported by the current audio node.",
|
||||
"failed": "❌ Failed to seek: {{error}}"
|
||||
"failed": "❌ Failed to seek: {{error}}",
|
||||
"seekTitle": "Position Jumped",
|
||||
"seekSubtitle": "{{position}} / {{duration}}"
|
||||
},
|
||||
"autoplay": {
|
||||
"enabled": "🔁 Autoplay **enabled** — similar tracks will be added automatically when the queue ends.",
|
||||
"disabled": "➡️ Autoplay **disabled** — the bot will stop when the queue ends."
|
||||
"disabled": "➡️ Autoplay **disabled** — the bot will stop when the queue ends.",
|
||||
"autoplayTitleEnabled": "Endless Autoplay Enabled",
|
||||
"autoplayTitleDisabled": "Endless Autoplay Disabled",
|
||||
"autoplayDescEnabled": "Remix will automatically queue recommended tracks when the queue runs out.",
|
||||
"autoplayDescDisabled": "Autoplay has been turned off. Playback will stop when the queue ends.",
|
||||
"autoplayEngine": "Engine: YouTube Mix + Last.fm"
|
||||
},
|
||||
"trackopt": {
|
||||
"notAvailable": "❌ Track options feature is not available.",
|
||||
@@ -850,30 +970,62 @@
|
||||
"listEmpty": "📭 You have no saved track options. Use `{{prefix}}trackopt set <start> [end]` to add one!",
|
||||
"listTitle": "📋 **Your Track Options** ({{count}})",
|
||||
"listEntry": "• **{{title}}** — {{start}} → {{end}}",
|
||||
"listHint": "Use `{{prefix}}trackopt play <alias>` to apply a named trim, or `{{prefix}}trackopt remove [alias]` to delete one."
|
||||
"listHint": "Use `{{prefix}}trackopt play <alias>` to apply a named trim, or `{{prefix}}trackopt remove [alias]` to delete one.",
|
||||
"savedAuthor": "✂️ Custom Track Trim Saved",
|
||||
"playbackWindowField": "Playback Window",
|
||||
"aliasField": "Alias",
|
||||
"activeTrimField": "Active Trim",
|
||||
"playHintFooter": "Play this cut anytime with: {{prefix}}trackopt play {{alias}}",
|
||||
"savedListAuthor": "✂️ Saved Track Trims",
|
||||
"trimProfilesFooter": "{{count}} trim profile{{plural}} saved • Apply with {{prefix}}trackopt play <alias>",
|
||||
"appliedAuthor": "✂️ Track Trim Applied",
|
||||
"activeCutRangeField": "Active Cut Range"
|
||||
},
|
||||
"normalize": {
|
||||
"statusEnabled": "🔊 Volume normalization (ReplayGain) is currently **Enabled** for this server.",
|
||||
"statusDisabled": "🔇 Volume normalization (ReplayGain) is currently **Disabled** for this server.",
|
||||
"info": "When enabled, playback loudness is dynamically leveled to the international -14 LUFS standard so quiet acoustic songs and loud EDM/SoundCloud tracks play at a balanced listening volume.",
|
||||
"trackInfo": "Current Track Info:\n• Source: `{{source}}`\n• Gain adjustment: `{{gainDb}} dB` ({{gainPct}}%)\n• Effective volume: `{{effective}}%`"
|
||||
"trackInfo": "Current Track Info:\n• Source: `{{source}}`\n• Gain adjustment: `{{gainDb}} dB` ({{gainPct}}%)\n• Effective volume: `{{effective}}%`",
|
||||
"headerAuthor": "🎚️ Dynamic Loudness Normalization",
|
||||
"headerTitle": "EBU R128 Audio Leveling",
|
||||
"footer": "Balances volume differences across YouTube, Spotify & SoundCloud",
|
||||
"fieldSource": "Track Source",
|
||||
"fieldGainOffset": "Gain Offset",
|
||||
"fieldEffectiveVolume": "Effective Volume"
|
||||
},
|
||||
"bassboost": {
|
||||
"disabled": "🔇 Bass boost disabled — restored original audio balance.",
|
||||
"applied": "🔊 Applied **Bass Boost ({{level}})**! Real-time equalizer active.",
|
||||
"failed": "❌ Failed to apply bass boost: {{reason}}"
|
||||
"failed": "❌ Failed to apply bass boost: {{reason}}",
|
||||
"eqTitle": "Equalizer Preset Applied",
|
||||
"subBass": "Sub-Bass",
|
||||
"midBass": "Mid-Bass",
|
||||
"high": "High",
|
||||
"resetHint": "Reset anytime with {{prefix}}bassboost off"
|
||||
},
|
||||
"speed": {
|
||||
"reset": "⏩ Playback speed reset to normal **1.0×**.",
|
||||
"current": "⏩ Current playback speed: **{{speed}}×**.\nUse `{{prefix}}speed <0.5-2.0>` to change playback speed.",
|
||||
"set": "{{emoji}} Playback speed set to **{{speed}}×**.",
|
||||
"failed": "❌ Failed to adjust speed: {{reason}}"
|
||||
"failed": "❌ Failed to adjust speed: {{reason}}",
|
||||
"speedTitle": "Playback Speed Adjusted",
|
||||
"speedMultiplier": "{{speed}}× Multiplier",
|
||||
"resetHint": "Reset anytime with {{prefix}}speed"
|
||||
},
|
||||
"pitch": {
|
||||
"reset": "🎵 Audio pitch reset to normal **1.0×**.",
|
||||
"current": "🎵 Current audio pitch: **{{pitch}}×**.\nUse `{{prefix}}pitch <0.5-2.0>` to change pitch.",
|
||||
"set": "🎵 Audio pitch set to **{{pitch}}×**.",
|
||||
"failed": "❌ Failed to adjust pitch: {{reason}}"
|
||||
"failed": "❌ Failed to adjust pitch: {{reason}}",
|
||||
"pitchTitle": "Audio Pitch Adjusted",
|
||||
"pitchMultiplier": "{{pitch}}× Pitch Shift",
|
||||
"resetHint": "Reset anytime with {{prefix}}pitch"
|
||||
},
|
||||
"move": {
|
||||
"reorderedAuthor": "🔀 Track Reordered",
|
||||
"reorderedDesc": "Moved from position **#{{from}}** ➔ **#{{to}}** in the queue.",
|
||||
"nowPlayingNext": "Now playing next after the current song • {{prefix}}np",
|
||||
"viewUpdatedQueue": "{{prefix}}list to view updated queue"
|
||||
}
|
||||
}
|
||||
}
|
||||
+223
-71
@@ -33,7 +33,9 @@
|
||||
"aliasesLabel": "Apelidos: ",
|
||||
"requirements": "Requisitos: ",
|
||||
"permission": "Permissão `{{$permission}}`",
|
||||
"optionCount": "{{$count}} opção(ões)"
|
||||
"optionCount": "{{$count}} opção(ões)",
|
||||
"commandInspectorAuthor": "Ajuda do Comando • {{prefix}}{{name}}",
|
||||
"commandInspectorFooter": "Digite {{prefix}}help para ver todos os comandos • Categoria: {{category}}"
|
||||
},
|
||||
"invalidFlag": "Flag inválida `$invalidFlag`. Não corresponde a nenhuma opção deste comando.\n`$previousCmd $invalidFlag`",
|
||||
"page": {
|
||||
@@ -245,7 +247,9 @@
|
||||
"joinFailedNotFound": "❌ Não foi possível encontrar esse canal de voz."
|
||||
},
|
||||
"clear": {
|
||||
"cleared": "🗑️ Fila limpa."
|
||||
"cleared": "🗑️ Fila limpa.",
|
||||
"clearedTitle": "Fila Limpa",
|
||||
"clearedSummary": "Removidas {{count}} {{plural}} da fila"
|
||||
},
|
||||
"debug": {
|
||||
"voiceTitle": "🔧 Debug de Voz",
|
||||
@@ -282,7 +286,10 @@
|
||||
"pickerClosed": "👋 Seletor de filtros fechado.",
|
||||
"footer": "Página {{page}}/{{total}} • Reaja com o emoji de um filtro para alternar",
|
||||
"activeLabel": "**← ativo**",
|
||||
"closeHint": "❌ Fechar"
|
||||
"closeHint": "❌ Fechar",
|
||||
"activePrefix": "Ativo:",
|
||||
"realtimeDsp": "DSP em Tempo Real",
|
||||
"navHint": "Reaja com emoji para alternar • ❌ para fechar"
|
||||
},
|
||||
"forceleave": {
|
||||
"channelNotFound": "❌ Canal não encontrado.",
|
||||
@@ -306,7 +313,14 @@
|
||||
"autoLeaveInactive": "Sai do canal <#{{channel}}> por inatividade.",
|
||||
"autoLeaveInactive247": "Sai do canal <#{{channel}}> por inatividade.\nSe quiser que eu permaneça no canal de voz, use `{{prefix}}247 on/auto`\nUse `{{prefix}}247` para ver e gerenciar todos os canais salvos.",
|
||||
"joinFailedPerms": "❌ Não tenho permissão para entrar em <#{{channel}}>. Por favor, verifique se tenho a permissão de **Conectar**.",
|
||||
"voiceChannelUnknown": "canal de voz desconhecido"
|
||||
"voiceChannelUnknown": "canal de voz desconhecido",
|
||||
"sessionStartedTitle": "Sessão de Voz Conectada",
|
||||
"joinedChannel": "Conectado a {{channel}}",
|
||||
"connectedBadge": "Conectado",
|
||||
"connectedAuthor": "🟢 Conectado à Voz",
|
||||
"selectVCAuthor": "🔊 Selecione um Canal de Voz",
|
||||
"selectVCFooter": "Reaja de 1 a 9 para conectar • A sessão expira em 30s",
|
||||
"playPromptFooter": "Toque música a qualquer momento com {{prefix}}play <música>"
|
||||
},
|
||||
"leave": {
|
||||
"noVoiceChannel": "⚠️ Por favor, entre em um canal de voz primeiro ou especifique um: `{{prefix}}leave <#channel>`",
|
||||
@@ -319,7 +333,12 @@
|
||||
"left": "✅ Sai com sucesso",
|
||||
"leftRejoin247": "✅ Sai com sucesso — reentrando em <#{{channel}}> em alguns segundos.\nPara desativar o modo 24/7 permanentemente, use `{{prefix}}247 off`.",
|
||||
"left247On": "✅ Sai com sucesso.\nO modo 24/7 está **ativo** — o bot não voltará automaticamente. Use `{{prefix}}play` para trazê-lo de volta ou `{{prefix}}247 off` para desativar completamente.\nUse `{{prefix}}247` para ver todos os canais salvos.",
|
||||
"autoRejoinHint": "⚠️ O modo 24/7 está ativado (auto) — vou reentrar em <#{{channel}}> em alguns segundos.\nPara me remover permanentemente, desative o modo 24/7 primeiro: `{{prefix}}247 off`"
|
||||
"autoRejoinHint": "⚠️ O modo 24/7 está ativado (auto) — vou reentrar em <#{{channel}}> em alguns segundos.\nPara me remover permanentemente, desative o modo 24/7 primeiro: `{{prefix}}247 off`",
|
||||
"sessionEndedTitle": "Sessão de Voz Encerrada",
|
||||
"leftChannel": "Saiu de {{channel}}",
|
||||
"disconnectedBadge": "Desconectado",
|
||||
"queueCleared": "Fila limpa",
|
||||
"rejoinHint": "Entre a qualquer momento com {{prefix}}join ou {{prefix}}play"
|
||||
},
|
||||
"list": {
|
||||
"empty": "📭 A fila está vazia. Use `{{prefix}}play` para adicionar músicas!",
|
||||
@@ -327,7 +346,11 @@
|
||||
"nowPlaying": "🎵 **Tocando Agora**",
|
||||
"header": "📋 **{{count}} faixas na fila** • ⏱️ `{{time}}`",
|
||||
"upNext": " ▶",
|
||||
"queueTitle": "🎧 Fila"
|
||||
"queueTitle": "🎧 Fila",
|
||||
"tracksCount": "{{count}} {{plural}} na fila",
|
||||
"nowPlayingHeader": "Tocando Agora",
|
||||
"upNextHeader": "A Seguir",
|
||||
"pageFooter": "Página {{page}}/{{totalPages}} • Repetição: {{loopState}}"
|
||||
},
|
||||
"queue": {
|
||||
"empty": "A fila está vazia.",
|
||||
@@ -343,7 +366,14 @@
|
||||
"songActivated": "🔂 Loop de música ativado",
|
||||
"songDisabled": "➡️ Loop de música desativado",
|
||||
"queueActivated": "🔁 Loop da fila ativado",
|
||||
"queueDisabled": "➡️ Loop da fila desativado"
|
||||
"queueDisabled": "➡️ Loop da fila desativado",
|
||||
"loopTitle": "Modo de Repetição Atualizado",
|
||||
"songLoopDesc": "Repetindo a faixa atual",
|
||||
"queueLoopDesc": "Repetindo toda a fila",
|
||||
"loopOffDesc": "Repetição desativada",
|
||||
"songLoopBadge": "Repetição de Faixa",
|
||||
"queueLoopBadge": "Repetição da Fila",
|
||||
"loopOffBadge": "Desativada"
|
||||
},
|
||||
"lyrics": {
|
||||
"nothingPlaying": "❌ Não está tocando nada no momento.",
|
||||
@@ -370,14 +400,22 @@
|
||||
"pause": {
|
||||
"nothingPlaying": "❌ Não está tocando nada no momento!",
|
||||
"alreadyPaused": "❌ Já está pausado!",
|
||||
"paused": "⏸️ Pausado"
|
||||
"paused": "⏸️ Pausado",
|
||||
"pausedTitle": "Reprodução Pausada",
|
||||
"pausedAt": "Pausada em {{time}}",
|
||||
"resumeHint": "Digite {{prefix}}resume para continuar"
|
||||
},
|
||||
"ping": {
|
||||
"title": "🏓 Pong!",
|
||||
"measuring": "🏓 Medindo o ping...",
|
||||
"roundtrip": "📶 **Latência**",
|
||||
"gateway": "🌐 **Gateway**",
|
||||
"node": "🎧 **NodeLink**"
|
||||
"node": "🎧 **NodeLink**",
|
||||
"pingDashboard": "Saúde da Rede e do Nó de Áudio",
|
||||
"operational": "Operacional",
|
||||
"restApi": "API REST",
|
||||
"gatewayWs": "WebSocket da Gateway",
|
||||
"audioNode": "Nó de Áudio"
|
||||
},
|
||||
"play": {
|
||||
"searching": "🔍 Buscando...",
|
||||
@@ -386,6 +424,30 @@
|
||||
"added": "[{{title}}]({{url}}) adicionado à fila com sucesso.",
|
||||
"addedPlaylist": "**{{count}}** músicas adicionadas à fila com sucesso.",
|
||||
"nowPlaying": "🎵 Tocando agora [{{title}}]({{url}}) por {{author}} em <#{{channel}}>",
|
||||
"addedToQueue": "Adicionado à Fila",
|
||||
"position": "Posição",
|
||||
"positionValue": "#{{position}} na fila",
|
||||
"positionNext": "A Seguir",
|
||||
"duration": "Duração",
|
||||
"estimatedWait": "Início Estimado",
|
||||
"estimatedWaitMinutes": "~{{minutes}} min",
|
||||
"estimatedWaitLessMinute": "< 1 min",
|
||||
"requestedBy": "Pedido por {{user}}",
|
||||
"queueCount": "Fila: {{count}} {{plural}}",
|
||||
"trackSingle": "música",
|
||||
"trackPlural": "músicas",
|
||||
"autoNowPlaying": "Tocando Agora",
|
||||
"byAuthor": "por {{author}}",
|
||||
"upNext": "Próxima",
|
||||
"controlsHint": "Digite {{prefix}}np para controles do player",
|
||||
"queueEndedTitle": "Fila Finalizada",
|
||||
"queueEndedHeading": "Tudo reproduzido!",
|
||||
"queueEndedBody": "Não há mais músicas na fila. Adicione mais com `{{prefix}}play <música>` ou continue a festa!",
|
||||
"radioSuggestionTitle": "Rádio 24/7",
|
||||
"radioSuggestionDesc": "Experimente `{{prefix}}radio` para estações sem parar",
|
||||
"autoplaySuggestionTitle": "Autoplay",
|
||||
"autoplaySuggestionDesc": "Digite `{{prefix}}autoplay` para recomendações infinitas",
|
||||
"voiceSessionPaused": "Sessão de Voz Pausada",
|
||||
"noResults": "**Nenhum resultado encontrado para '{{query}}'.**",
|
||||
"searchFailed": "**A busca falhou. Por favor, tente novamente.**",
|
||||
"noData": "Não foi possível carregar a faixa — nenhum dado retornado.",
|
||||
@@ -396,10 +458,34 @@
|
||||
"bilibiliResolving": "📺 Resolvendo vídeo do Bilibili...",
|
||||
"bilibiliNoAudio": "❌ Nenhum áudio reproduzível para **{{title}}** — o vídeo pode estar bloqueado por região, ser pago ou ter sido excluído.",
|
||||
"bilibiliError": "❌ Bilibili: {{message}}",
|
||||
"bilibiliDisabled": "❌ A reprodução do Bilibili está desativada (config.json → bilibili.enabled)."
|
||||
"bilibiliDisabled": "❌ A reprodução do Bilibili está desativada (config.json → bilibili.enabled).",
|
||||
"sourceRadio": "Rádio 24/7",
|
||||
"sourceMusic": "Música",
|
||||
"station": "Estação",
|
||||
"channel": "Canal",
|
||||
"artist": "Artista",
|
||||
"modeVol": "Modo / Vol",
|
||||
"volume": "Volume",
|
||||
"liveBroadcast": "Transmissão ao Vivo",
|
||||
"customCut": "Corte Personalizado",
|
||||
"unknownAuthor": "Artista Desconhecido",
|
||||
"unknownTrack": "Faixa Desconhecida",
|
||||
"endOfQueue": "Fim da fila",
|
||||
"none": "Nenhum",
|
||||
"on": "Ligado",
|
||||
"off": "Desligado",
|
||||
"nowPlayingFooter": "Fila: {{count}} {{plural}} ({{remaining}}) • Próxima: {{next}}",
|
||||
"nowPlayingFooterEmpty": "Fila: Vazia • Autoplay: {{autoplay}}",
|
||||
"loopSongLabel": "Música",
|
||||
"loopQueueLabel": "Fila",
|
||||
"loopOffLabel": "Desligado",
|
||||
"sourceSpotify": "Spotify",
|
||||
"sourceSoundcloud": "SoundCloud",
|
||||
"sourceYoutube": "YouTube"
|
||||
},
|
||||
"playnext": {
|
||||
"searching": "🔍 Buscando..."
|
||||
"searching": "🔍 Buscando...",
|
||||
"playingNext": "⚡ Tocando a Seguir • Topo da Fila (#1)"
|
||||
},
|
||||
"player": {
|
||||
"title": "🎧 Controles do Player de Música",
|
||||
@@ -453,7 +539,8 @@
|
||||
"unknownStation": "❌ Estação desconhecida `{{station}}`. Disponíveis: {{stations}}\n\nUse `$prefixradio list` para navegar.",
|
||||
"nowPlaying": "📻 Transmitindo agora _{{title}}_ por [{{author}}]({{url}}) em <#{{channel}}>",
|
||||
"skipHint": "_Use `$prefixskip` para parar o rádio ou `$prefixradio list` para trocar de estação._",
|
||||
"prevNext": "⬅️ Anterior ➡️ Próximo ❌ Cancelar"
|
||||
"prevNext": "⬅️ Anterior ➡️ Próximo ❌ Cancelar",
|
||||
"stationsAuthor": "Diretório de Rádios 24/7"
|
||||
},
|
||||
"reload": {
|
||||
"indexNoReload": "❌ `index.mjs` não pode ser recarregado — faça uma reinicialização completa.",
|
||||
@@ -470,12 +557,20 @@
|
||||
},
|
||||
"remove": {
|
||||
"indexOutOfBounds": "Índice fora do intervalo",
|
||||
"removed": "**{{title}}** removido da fila com sucesso."
|
||||
"removed": "**{{title}}** removido da fila com sucesso.",
|
||||
"removedAuthor": "🗑️ Removido da Fila",
|
||||
"removedSingleDesc": "Faixa na posição **#{{position}}** removida da fila.",
|
||||
"removedRangeTitle": "{{count}} Faixas Removidas",
|
||||
"removedRangeDesc": "Posições de **#{{from}}** a **#{{to}}** removidas com sucesso da fila.",
|
||||
"remainingFooter": "{{count}} faixa{{plural}} restante{{plural}} na fila • {{prefix}}list"
|
||||
},
|
||||
"resume": {
|
||||
"nothingPlaying": "❌ Não está tocando nada no momento!",
|
||||
"notPaused": "❌ Não está pausado!",
|
||||
"resumed": "▶️ Retomado"
|
||||
"resumed": "▶️ Retomado",
|
||||
"resumedTitle": "Reprodução Retomada",
|
||||
"resumedAt": "Retomada em {{time}}",
|
||||
"pauseHint": "Digite {{prefix}}pause para pausar"
|
||||
},
|
||||
"search": {
|
||||
"loadingResults": "⏳ Carregando resultados...",
|
||||
@@ -486,7 +581,8 @@
|
||||
"cancelled": "❌ Cancelado.",
|
||||
"added": "✅ [{{title}}]({{url}}) adicionado à fila!",
|
||||
"timedOut": "⏰ Tempo de busca esgotado.",
|
||||
"sessionClosed": "Sessão encerrada"
|
||||
"sessionClosed": "Sessão encerrada",
|
||||
"cancelOption": "Cancelar"
|
||||
},
|
||||
"servers": {
|
||||
"noServers": "_Nenhum servidor encontrado._",
|
||||
@@ -552,54 +648,36 @@
|
||||
"channelsLabelPlural": "{{count}} canais",
|
||||
"thisServer": "este servidor",
|
||||
"247Panel": {
|
||||
"title": "♾️ Modo 24/7",
|
||||
"noChannelsSaved": "Nenhum canal de voz salvo.",
|
||||
"gettingStarted": "Primeiros Passos",
|
||||
"gettingStartedValue": "• `{{prefix}}247 on` — permanecer permanentemente\n• `{{prefix}}247 auto` — permanecer + reentrada automática após desconexão",
|
||||
"footer": "{{prefix}}247 on | {{prefix}}247 auto | {{prefix}}247 off",
|
||||
"channelsSaved_one": "{{count}} canal salvo",
|
||||
"channelsSaved_other": "{{count}} canais salvos",
|
||||
"summaryOn": "✅ {{count}} ligado",
|
||||
"summaryAuto": "🔄 {{count}} automático",
|
||||
"modeOn": "✅ Ligado",
|
||||
"modeAuto": "🔄 Automático",
|
||||
"modeOff": "❌ Desligado",
|
||||
"enabledTitle": "♾️ 24/7 {{mode}}",
|
||||
"enabledDescription": "{{channel}} → **{{mode}}** — {{summary}}",
|
||||
"enabledFooter": "{{prefix}}247 off para desativar um canal",
|
||||
"savedChannels": "Canais Salvos",
|
||||
"currentMarker": " ←",
|
||||
"disabledTitle": "♾️ 24/7 Desativado",
|
||||
"noChannelsSavedField": "Nenhum Canal Salvo",
|
||||
"allChannelsRemoved": "Todos os canais 24/7 removidos. O bot sairá do canal de voz após inatividade.",
|
||||
"channelRemoved": "<#{{channel}}> removido",
|
||||
"channelsRemaining_one": "{{count}} canal restante",
|
||||
"channelsRemaining_other": "{{count}} canais restantes",
|
||||
"reenableFooter": "{{prefix}}247 on | {{prefix}}247 auto para reativar",
|
||||
"allChannelsLabel": "❌ Todos os Canais",
|
||||
"allChannelsDisabled": "Modo 24/7 **desativado** para todos os canais neste servidor.\nO bot sairá do canal de voz após inatividade.",
|
||||
"noChannelsSavedShort": "Nenhum canal salvo",
|
||||
"joinFailed": "⚠️ 24/7 {{mode}} salvo, mas falha ao entrar em <#{{channel}}>.\nErro: `{{error}}`\n\nTente `{{prefix}}join` ou `{{prefix}}play` mais tarde.",
|
||||
"statusConnected": "🟢 Conectado",
|
||||
"statusReconnecting": "🟡 Reconectando",
|
||||
"statusOffline": "🔴 Offline",
|
||||
"autoRecoveryLine": "♻️ Recuperação automática ativa — os canais salvos são verificados a cada {{seconds}}s",
|
||||
"autoRecoveryDisabledLine": "♻️ Recuperação automática em espera",
|
||||
"enabledLine": "✅ O 24/7 está **ativado** — o bot permanece conectado e reentra automaticamente caso a conexão caia.",
|
||||
"disabledHint": "Entre em um canal de voz e use `{{prefix}}247` para ativar.",
|
||||
"footerLine": "{{prefix}}247 · alternar · {{prefix}}247 off · desativar tudo",
|
||||
"confirmEnabled": "✅ 24/7 ativado em {{channel}} — o bot permanecerá conectado e reentrará automaticamente caso a conexão caia.",
|
||||
"confirmDisabled": "❌ 24/7 desativado em {{channel}} — o bot sairá do canal quando estiver ocioso.",
|
||||
"confirmDisabledAll": "❌ 24/7 desativado para todos os canais deste servidor — o bot sairá dos canais quando estiver ocioso.",
|
||||
"disabledLine": "❌ O 24/7 está **desativado**",
|
||||
"activeChannels_one": "✅ 24/7 ativo em {{count}} canal:",
|
||||
"activeChannels_other": "✅ 24/7 ativo em {{count}} canais:"
|
||||
"watchdogAuthor": "📻 Monitor Watchdog de Voz 24/7",
|
||||
"watchdogTitle": "Sistema de Voz Sempre Ativo",
|
||||
"watchdogFieldRecovery": "Recuperação Automática",
|
||||
"watchdogFieldInactivity": "Saída por Inatividade",
|
||||
"watchdogRecoveryArmed": "Armado (Varredura a cada {{seconds}}s)",
|
||||
"watchdogInactivitySuppressed": "Suprimido (24/7)",
|
||||
"watchdogStatusMonitoring": "MONITORANDO",
|
||||
"watchdogStatusStandby": "EM ESPERA",
|
||||
"watchdogFooter": "Alterne com {{prefix}}247 on ou {{prefix}}247 off • Watchdog ao vivo"
|
||||
},
|
||||
"max247Channels": "Você pode salvar até {{max}} canais de voz 24/7 em um servidor. Use `{{prefix}}247 off` em um dos canais salvos primeiro."
|
||||
"max247Channels": "Você pode salvar até {{max}} canais de voz 24/7 em um servidor. Use `{{prefix}}247 off` em um dos canais salvos primeiro.",
|
||||
"categoryGeneral": "🌐 Geral e Localização",
|
||||
"categoryAudio": "🔊 Áudio e Reprodução",
|
||||
"categoryVoice247": "📻 Conexão de Voz 24/7",
|
||||
"dashboardTitle": "⚙️ Painel de Controle do Servidor",
|
||||
"dashboardFooter": "Altere as configurações com {{prefix}}settings set <key> <val> • {{prefix}}settings help",
|
||||
"statusActive247": "Ativo 24/7",
|
||||
"statusActiveChannel": "Ativo ({{channel}})",
|
||||
"statusActiveChannels": "Ativo ({{count}} canais)",
|
||||
"inspectorTitle": "⚙️ Inspetor de Configurações",
|
||||
"settingValueField": "Valor Atual",
|
||||
"settingDescField": "Descrição",
|
||||
"inspectorFooter": "Use {{prefix}}settings set {{setting}} <val> para atualizar"
|
||||
},
|
||||
"shuffle": {
|
||||
"emptyQueue": "Não há nada para embaralhar na fila.",
|
||||
"shuffled": "🔀 Fila embaralhada"
|
||||
"shuffled": "🔀 Fila embaralhada",
|
||||
"shuffledTitle": "Fila Embaralhada",
|
||||
"shuffledSummary": "{{count}} {{plural}} reordenadas aleatoriamente",
|
||||
"newUpNext": "Nova #1 a Seguir"
|
||||
},
|
||||
"skip": {
|
||||
"nothingPlaying": "❌ Não está tocando nada no momento!",
|
||||
@@ -607,7 +685,11 @@
|
||||
"skippedTrack": "⏭️ Pulado [{{title}}]({{url}})",
|
||||
"skippedToPosition": "⏭️ Pulou para a posição {{position}}",
|
||||
"voteAdded": "🗳️ Votação para pular: **{{votes}}/{{needed}}**. Use o comando novamente para adicionar seu voto!",
|
||||
"alreadyVoted": "🗳️ Você já votou para pular! **{{votes}}/{{needed}}** votos até agora."
|
||||
"alreadyVoted": "🗳️ Você já votou para pular! **{{votes}}/{{needed}}** votos até agora.",
|
||||
"skippedTitle": "Faixa Pulada",
|
||||
"skippedAt": "Pulada em {{time}}",
|
||||
"upNext": "A Seguir",
|
||||
"queueRemaining": "{{count}} {{plural}} na fila"
|
||||
},
|
||||
"stats": {
|
||||
"title": "Bot de Música Remix",
|
||||
@@ -646,13 +728,20 @@
|
||||
"thumbnail": {
|
||||
"nothingPlaying": "Não está tocando nada no momento.",
|
||||
"noThumbnail": "Nenhuma thumbnail disponível.",
|
||||
"thumbnail": "Thumbnail de [{{title}}]({{url}}):"
|
||||
"thumbnail": "Thumbnail de [{{title}}]({{url}}):",
|
||||
"thumbTitle": "Capa do Álbum",
|
||||
"highRes": "Alta Resolução",
|
||||
"noArtwork": "❌ Nenhuma capa disponível para esta faixa.",
|
||||
"expandHint": "Clique na imagem para expandir"
|
||||
},
|
||||
"volume": {
|
||||
"current": "🔊 Volume atual: `{{volume}}%`",
|
||||
"outOfRange": "❌ O volume deve estar entre `0` e `{{max}}%`.",
|
||||
"changed": "🔊 Volume alterado para `{{volume}}%` nesta sessão.",
|
||||
"setPending": "Volume definido para `{{volume}}%` — será aplicado quando conectado."
|
||||
"setPending": "Volume definido para `{{volume}}%` — será aplicado quando conectado.",
|
||||
"volumeAdjusted": "Volume Ajustado",
|
||||
"currentVolume": "Volume Atual",
|
||||
"volumeHint": "Use {{prefix}}volume <0-150>"
|
||||
},
|
||||
"volumedefault": {
|
||||
"title": "🔊 Configurações de Volume",
|
||||
@@ -662,7 +751,12 @@
|
||||
"noPermission": "⚠️ Você precisa da permissão **Gerenciar Servidor** para alterar o padrão.",
|
||||
"noPermissionSet": "❌ Você precisa da permissão **Gerenciar Servidor** para definir o volume padrão do servidor.",
|
||||
"outOfRange": "❌ O volume deve estar entre `0` e `{{max}}%`.",
|
||||
"saved": "🔊 Volume padrão do servidor salvo como `{{volume}}%`."
|
||||
"saved": "🔊 Volume padrão do servidor salvo como `{{volume}}%`.",
|
||||
"author": "🔊 Volume Padrão do Servidor",
|
||||
"fieldDefault": "Volume Padrão",
|
||||
"fieldActive": "Volume da Sessão Ativa",
|
||||
"authorSaved": "🔊 Volume Padrão do Servidor Salvo",
|
||||
"fieldNewDefault": "Novo Nível Padrão"
|
||||
},
|
||||
"gateway": {
|
||||
"missingPermsFallback": "⚠️ Estou sem permissões que preciso para funcionar corretamente! Faltando: **{{perms}}**. Por favor, peça a um administrador do servidor para conceder essas permissões em Configurações do Servidor → Cargos."
|
||||
@@ -771,7 +865,26 @@
|
||||
"noArtistTags": "🏷️ Nenhuma tag encontrada para o artista **{{artist}}**.",
|
||||
"artistTagsTitle": "🏷️ Tags Populares para {{artist}}",
|
||||
"listeners": "ouvintes",
|
||||
"leaderboardYourRank": "📍 Sua posição: **#{{rank}}** ({{count}} scrobbles)"
|
||||
"leaderboardYourRank": "📍 Sua posição: **#{{rank}}** ({{count}} scrobbles)",
|
||||
"crownHolder": "👑 Dono da Coroa (#1)",
|
||||
"serverLeaderboardAuthor": "👑 Placar de Música do Servidor",
|
||||
"trackLeaderboardAuthor": "👑 Placar de Música da Faixa",
|
||||
"albumLeaderboardAuthor": "👑 Placar de Música do Álbum",
|
||||
"profileAuthor": "👤 Cartão de Perfil Last.fm",
|
||||
"profileFieldTotalScrobbles": "Total de Scrobbles",
|
||||
"profileFieldScrobbling": "Auto-Scrobble",
|
||||
"profileFieldArtists": "Artistas Explorados",
|
||||
"profileFieldRegistered": "Membro desde",
|
||||
"profileFooterPro": "Alternar auto-scrobble: {{prefix}}lastfm scrobble • {{prefix}}lastfm top",
|
||||
"artistSpotlightAuthor": "🎤 Destaque do Artista",
|
||||
"artistFieldListeners": "Ouvintes",
|
||||
"artistFieldPlays": "Reproduções Globais",
|
||||
"artistFieldUserPlays": "Suas Reproduções",
|
||||
"artistFieldSimilar": "Artistas Semelhantes",
|
||||
"artistFieldTags": "Gêneros e Tags",
|
||||
"artistFooterPro": "Classificação do servidor: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums",
|
||||
"coverAuthor": "🖼️ Galeria de Capa do Álbum",
|
||||
"coverFooterPro": "Ver miniatura da música: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo"
|
||||
},
|
||||
"messages": {
|
||||
"missingCriticalPermsTitle": "Permissões Ausentes — Bot Não Pode Funcionar Corretamente",
|
||||
@@ -818,11 +931,18 @@
|
||||
"exceedsDuration": "❌ Posição de busca excede a duração da faixa (**{{duration}}**).",
|
||||
"seeked": "⏩ Pulou para **{{position}}**",
|
||||
"notSupported": "❌ Busca não é suportada pelo nó de áudio atual.",
|
||||
"failed": "❌ Falha ao buscar: {{error}}"
|
||||
"failed": "❌ Falha ao buscar: {{error}}",
|
||||
"seekTitle": "Posição Alterada",
|
||||
"seekSubtitle": "{{position}} / {{duration}}"
|
||||
},
|
||||
"autoplay": {
|
||||
"enabled": "🔁 Autoplay **ativado** — faixas similares serão adicionadas automaticamente quando a fila terminar.",
|
||||
"disabled": "➡️ Autoplay **desativado** — o bot parará quando a fila terminar."
|
||||
"disabled": "➡️ Autoplay **desativado** — o bot parará quando a fila terminar.",
|
||||
"autoplayTitleEnabled": "Autoplay Infinito Ativado",
|
||||
"autoplayTitleDisabled": "Autoplay Desativado",
|
||||
"autoplayDescEnabled": "O Remix adicionará músicas recomendadas automaticamente quando a fila acabar.",
|
||||
"autoplayDescDisabled": "O autoplay foi desativado. A reprodução vai parar ao final da fila.",
|
||||
"autoplayEngine": "Motor: YouTube Mix + Last.fm"
|
||||
},
|
||||
"trackopt": {
|
||||
"notAvailable": "❌ Recurso de opções de faixa não está disponível.",
|
||||
@@ -850,30 +970,62 @@
|
||||
"listEmpty": "📭 Você não tem opções de faixa salvas. Use `{{prefix}}trackopt set <start> [end]` para adicionar uma!",
|
||||
"listTitle": "📋 **Suas Opções de Faixa** ({{count}})",
|
||||
"listEntry": "• **{{title}}** — {{start}} → {{end}}",
|
||||
"listHint": "Use `{{prefix}}trackopt play <alias>` para aplicar um recorte nomeado, ou `{{prefix}}trackopt remove [alias]` para excluir um."
|
||||
"listHint": "Use `{{prefix}}trackopt play <alias>` para aplicar um recorte nomeado, ou `{{prefix}}trackopt remove [alias]` para excluir um.",
|
||||
"savedAuthor": "✂️ Corte Personalizado Salvo",
|
||||
"playbackWindowField": "Janela de Reprodução",
|
||||
"aliasField": "Alias",
|
||||
"activeTrimField": "Corte Ativo",
|
||||
"playHintFooter": "Toque este corte a qualquer momento com: {{prefix}}trackopt play {{alias}}",
|
||||
"savedListAuthor": "✂️ Cortes de Faixa Salvos",
|
||||
"trimProfilesFooter": "{{count}} perfil{{plural}} de corte salvo{{plural}} • Aplique com {{prefix}}trackopt play <alias>",
|
||||
"appliedAuthor": "✂️ Corte de Faixa Aplicado",
|
||||
"activeCutRangeField": "Intervalo de Corte Ativo"
|
||||
},
|
||||
"normalize": {
|
||||
"statusEnabled": "🔊 A normalização dinâmica de volume (ReplayGain) está atualmente **Ativada** para este servidor.",
|
||||
"statusDisabled": "🔇 A normalização dinâmica de volume (ReplayGain) está atualmente **Desativada** para este servidor.",
|
||||
"info": "Quando ativado, o volume de reprodução é nivelado dinamicamente para o padrão internacional de -14 LUFS, equilibrando faixas acústicas suaves e faixas com masterização pesada.",
|
||||
"trackInfo": "Informações da faixa atual:\n• Fonte: `{{source}}`\n• Ajuste de ganho: `{{gainDb}} dB` ({{gainPct}}%)\n• Volume efetivo: `{{effective}}%`"
|
||||
"trackInfo": "Informações da faixa atual:\n• Fonte: `{{source}}`\n• Ajuste de ganho: `{{gainDb}} dB` ({{gainPct}}%)\n• Volume efetivo: `{{effective}}%`",
|
||||
"headerAuthor": "🎚️ Normalização Dinâmica de Volume",
|
||||
"headerTitle": "Nivelamento de Áudio EBU R128",
|
||||
"footer": "Equilibra diferenças de volume entre YouTube, Spotify e SoundCloud",
|
||||
"fieldSource": "Origem da Faixa",
|
||||
"fieldGainOffset": "Ajuste de Ganho",
|
||||
"fieldEffectiveVolume": "Volume Efetivo"
|
||||
},
|
||||
"bassboost": {
|
||||
"disabled": "🔇 Reforço de graves desativado — equilíbrio de áudio original restaurado.",
|
||||
"applied": "🔊 **Reforço de Graves ({{level}})** aplicado! Equalizador em tempo real ativo.",
|
||||
"failed": "❌ Falha ao aplicar reforço de graves: {{reason}}"
|
||||
"failed": "❌ Falha ao aplicar reforço de graves: {{reason}}",
|
||||
"eqTitle": "Predefinição de Equalizador Aplicada",
|
||||
"subBass": "Sub-Grave",
|
||||
"midBass": "Grave-Médio",
|
||||
"high": "Agudo",
|
||||
"resetHint": "Redefina a qualquer momento com {{prefix}}bassboost off"
|
||||
},
|
||||
"speed": {
|
||||
"reset": "⏩ Velocidade de reprodução redefinida para **1.0×** normal.",
|
||||
"current": "⏩ Velocidade de reprodução atual: **{{speed}}×**.\nUse `{{prefix}}speed <0.5-2.0>` para alterar a velocidade.",
|
||||
"set": "{{emoji}} Velocidade de reprodução definida para **{{speed}}×**.",
|
||||
"failed": "❌ Falha ao ajustar velocidade: {{reason}}"
|
||||
"failed": "❌ Falha ao ajustar velocidade: {{reason}}",
|
||||
"speedTitle": "Velocidade de Reprodução Ajustada",
|
||||
"speedMultiplier": "Multiplicador de {{speed}}×",
|
||||
"resetHint": "Redefina a qualquer momento com {{prefix}}speed"
|
||||
},
|
||||
"pitch": {
|
||||
"reset": "🎵 Tom de áudio redefinido para **1.0×** normal.",
|
||||
"current": "🎵 Tom de áudio atual: **{{pitch}}×**.\nUse `{{prefix}}pitch <0.5-2.0>` para alterar o tom.",
|
||||
"set": "🎵 Tom de áudio definido para **{{pitch}}×**.",
|
||||
"failed": "❌ Falha ao ajustar tom: {{reason}}"
|
||||
"failed": "❌ Falha ao ajustar tom: {{reason}}",
|
||||
"pitchTitle": "Tom de Áudio Ajustado",
|
||||
"pitchMultiplier": "Mudança de Tom de {{pitch}}×",
|
||||
"resetHint": "Redefina a qualquer momento com {{prefix}}pitch"
|
||||
},
|
||||
"move": {
|
||||
"reorderedAuthor": "🔀 Faixa Reordenada",
|
||||
"reorderedDesc": "Movido da posição **#{{from}}** ➔ **#{{to}}** na fila.",
|
||||
"nowPlayingNext": "Tocará a seguir após a música atual • {{prefix}}np",
|
||||
"viewUpdatedQueue": "{{prefix}}list para ver a fila atualizada"
|
||||
}
|
||||
}
|
||||
}
|
||||
+223
-71
@@ -33,7 +33,9 @@
|
||||
"aliasesLabel": "Kısayollar: ",
|
||||
"requirements": "Gereksinimler: ",
|
||||
"permission": "İzin `{{$permission}}`",
|
||||
"optionCount": "{{$count}} seçenek"
|
||||
"optionCount": "{{$count}} seçenek",
|
||||
"commandInspectorAuthor": "Komut Yardımı • {{prefix}}{{name}}",
|
||||
"commandInspectorFooter": "Tüm komutlar için {{prefix}}help yazın • Kategori: {{category}}"
|
||||
},
|
||||
"invalidFlag": "Geçersiz bayrak `$invalidFlag`. Bu komuttaki hiçbir seçenekle eşleşmiyor.\n`$previousCmd $invalidFlag`",
|
||||
"textWrapError": "Hatalı biçimlendirilmiş dize `{{$value}}`: İstenen dizeden sonra kapatma tırnak işareti (`{{$quote}}`) eksik.",
|
||||
@@ -245,7 +247,9 @@
|
||||
"joinFailedNotFound": "❌ Ses kanalı bulunamadı."
|
||||
},
|
||||
"clear": {
|
||||
"cleared": "🗑️ Kuyruk temizlendi."
|
||||
"cleared": "🗑️ Kuyruk temizlendi.",
|
||||
"clearedTitle": "Sıra Temizlendi",
|
||||
"clearedSummary": "Sıradan {{count}} {{plural}} kaldırıldı"
|
||||
},
|
||||
"debug": {
|
||||
"voiceTitle": "🔧 Ses Hata Ayıklama",
|
||||
@@ -282,7 +286,10 @@
|
||||
"pickerClosed": "👋 Filtre seçici kapatıldı.",
|
||||
"footer": "Sayfa {{page}}/{{total}} • Açıp kapatmak için bir filtre emojisine tepki verin",
|
||||
"activeLabel": "**← aktif**",
|
||||
"closeHint": "❌ Kapat"
|
||||
"closeHint": "❌ Kapat",
|
||||
"activePrefix": "Etkin:",
|
||||
"realtimeDsp": "Gerçek Zamanlı DSP",
|
||||
"navHint": "Değiştirmek için emojiyle tepki verin • ❌ kapatmak için"
|
||||
},
|
||||
"forceleave": {
|
||||
"channelNotFound": "❌ Kanal bulunamadı.",
|
||||
@@ -306,7 +313,14 @@
|
||||
"autoLeaveInactive": "Hareketsizlik nedeniyle <#{{channel}}> kanalından ayrılındı.",
|
||||
"autoLeaveInactive247": "Hareketsizlik nedeniyle <#{{channel}}> kanalından ayrılındı.\nSesli kalmamı istiyorsanız `{{prefix}}247 on` veya `{{prefix}}247 auto` kullanın\nKayıtlı tüm kanalları görüntülemek ve yönetmek için `{{prefix}}247` kullanın.",
|
||||
"joinFailedPerms": "❌ <#{{channel}}> kanalına katılma iznim yok. Lütfen **Bağlan** iznim olduğundan emin olun.",
|
||||
"voiceChannelUnknown": "bilinmeyen ses kanalı"
|
||||
"voiceChannelUnknown": "bilinmeyen ses kanalı",
|
||||
"sessionStartedTitle": "Ses Oturumu Bağlandı",
|
||||
"joinedChannel": "{{channel}} kanalına bağlandı",
|
||||
"connectedBadge": "Bağlandı",
|
||||
"connectedAuthor": "🟢 Sese Bağlandı",
|
||||
"selectVCAuthor": "🔊 Bir Ses Kanalı Seçin",
|
||||
"selectVCFooter": "Bağlanmak için 1-9 tepki verin • Oturum 30sn içinde sona erer",
|
||||
"playPromptFooter": "{{prefix}}play <şarkı> ile istediğiniz zaman müzik çalın"
|
||||
},
|
||||
"leave": {
|
||||
"noVoiceChannel": "⚠️ Lütfen önce bir ses kanalına katılın veya bir tane belirtin: `{{prefix}}leave <#kanal>`",
|
||||
@@ -319,7 +333,12 @@
|
||||
"left": "✅ Başarıyla Ayrıldı",
|
||||
"leftRejoin247": "✅ Başarıyla Ayrıldı — birkaç saniye içinde <#{{channel}}> kanalına tekrar katılınıyor.\n24/7 modunu kalıcı olarak devre dışı bırakmak için `{{prefix}}247 off` kullanın.",
|
||||
"left247On": "✅ Başarıyla Ayrıldı.\n24/7 modu **açık** — bot otomatik olarak tekrar katılmayacak. Geri getirmek için `{{prefix}}play` veya tamamen devre dışı bırakmak için `{{prefix}}247 off` kullanın.\nKayıtlı tüm kanalları görüntülemek için `{{prefix}}247` kullanın.",
|
||||
"autoRejoinHint": "⚠️ 24/7 modu etkin (auto) — birkaç saniye içinde <#{{channel}}> kanalına tekrar katılacağım.\nBeni kalıcı olarak çıkarmak için önce 24/7 modunu devre dışı bırakın: `{{prefix}}247 off`"
|
||||
"autoRejoinHint": "⚠️ 24/7 modu etkin (auto) — birkaç saniye içinde <#{{channel}}> kanalına tekrar katılacağım.\nBeni kalıcı olarak çıkarmak için önce 24/7 modunu devre dışı bırakın: `{{prefix}}247 off`",
|
||||
"sessionEndedTitle": "Ses Oturumu Sona Erdi",
|
||||
"leftChannel": "{{channel}} kanalından ayrıldı",
|
||||
"disconnectedBadge": "Bağlantı Kesildi",
|
||||
"queueCleared": "Sıra temizlendi",
|
||||
"rejoinHint": "Tekrar katılmak için: {{prefix}}join veya {{prefix}}play"
|
||||
},
|
||||
"lastfm": {
|
||||
"notConfigured": "❌ Last.fm entegrasyonu bu botta yapılandırılmamış. Bot sahibinden yapılandırmayı isteyin.",
|
||||
@@ -425,7 +444,26 @@
|
||||
"noArtistTags": "🏷️ Sanatçı **{{artist}}** için etiket bulunamadı.",
|
||||
"artistTagsTitle": "🏷️ {{artist}} için En Çok Dinlenen Etiketler",
|
||||
"listeners": "dinleyici",
|
||||
"leaderboardYourRank": "📍 Sıralan: **#{{rank}}** ({{count}} scrobble)"
|
||||
"leaderboardYourRank": "📍 Sıralan: **#{{rank}}** ({{count}} scrobble)",
|
||||
"crownHolder": "👑 Taç Sahibi (#1)",
|
||||
"serverLeaderboardAuthor": "👑 Sunucu Müzik Sıralaması",
|
||||
"trackLeaderboardAuthor": "👑 Parça Sıralaması",
|
||||
"albumLeaderboardAuthor": "👑 Albüm Sıralaması",
|
||||
"profileAuthor": "👤 Last.fm Profil Kartı",
|
||||
"profileFieldTotalScrobbles": "Toplam Scrobble",
|
||||
"profileFieldScrobbling": "Otomatik Scrobble",
|
||||
"profileFieldArtists": "Keşfedilen Sanatçılar",
|
||||
"profileFieldRegistered": "Kayıt Tarihi",
|
||||
"profileFooterPro": "Otomatik scrobble değiştir: {{prefix}}lastfm scrobble • {{prefix}}lastfm top",
|
||||
"artistSpotlightAuthor": "🎤 Sanatçı Odağı",
|
||||
"artistFieldListeners": "Dinleyiciler",
|
||||
"artistFieldPlays": "Küresel Çalmalar",
|
||||
"artistFieldUserPlays": "Sizin Çalmalarınız",
|
||||
"artistFieldSimilar": "Benzer Sanatçılar",
|
||||
"artistFieldTags": "Türler ve Etiketler",
|
||||
"artistFooterPro": "Sunucu liderliği: {{prefix}}whoknows {{artist}} • {{prefix}}lastfm albums",
|
||||
"coverAuthor": "🖼️ Albüm Kapağı Galerisi",
|
||||
"coverFooterPro": "Şarkı küçük resmini gör: {{prefix}}thumbnail • {{prefix}}lastfm albuminfo"
|
||||
},
|
||||
"list": {
|
||||
"empty": "📭 Kuyruk boş. Şarkı eklemek için `{{prefix}}play` kullanın!",
|
||||
@@ -433,14 +471,25 @@
|
||||
"nowPlaying": "🎵 **Şu An Çalıyor**",
|
||||
"header": "📋 **Kuyrukta {{count}} parça** • ⏱️ `{{time}}`",
|
||||
"upNext": " ▶",
|
||||
"queueTitle": "🎧 Kuyruk"
|
||||
"queueTitle": "🎧 Kuyruk",
|
||||
"tracksCount": "Sırada {{count}} {{plural}}",
|
||||
"nowPlayingHeader": "Şu An Çalıyor",
|
||||
"upNextHeader": "Sıradaki",
|
||||
"pageFooter": "Sayfa {{page}}/{{totalPages}} • Döngü: {{loopState}}"
|
||||
},
|
||||
"loop": {
|
||||
"invalidChoice": "'{{choice}}' geçerli değil. `song` veya `queue` kullanın",
|
||||
"songActivated": "🔂 Şarkı döngüsü etkinleştirildi",
|
||||
"songDisabled": "➡️ Şarkı döngüsü devre dışı bırakıldı",
|
||||
"queueActivated": "🔁 Kuyruk döngüsü etkinleştirildi",
|
||||
"queueDisabled": "➡️ Kuyruk döngüsü devre dışı bırakıldı"
|
||||
"queueDisabled": "➡️ Kuyruk döngüsü devre dışı bırakıldı",
|
||||
"loopTitle": "Tekrar Modu Güncellendi",
|
||||
"songLoopDesc": "Şu anki parça tekrarlanıyor",
|
||||
"queueLoopDesc": "Tüm sıra tekrarlanıyor",
|
||||
"loopOffDesc": "Tekrar kapalı",
|
||||
"songLoopBadge": "Tek Parça Döngüsü",
|
||||
"queueLoopBadge": "Sıra Döngüsü",
|
||||
"loopOffBadge": "Kapalı"
|
||||
},
|
||||
"queue": {
|
||||
"empty": "Kuyruk boş.",
|
||||
@@ -476,14 +525,22 @@
|
||||
"pause": {
|
||||
"nothingPlaying": "❌ Şu anda çalan bir şey yok!",
|
||||
"alreadyPaused": "❌ Zaten duraklatılmış!",
|
||||
"paused": "⏸️ Duraklatıldı"
|
||||
"paused": "⏸️ Duraklatıldı",
|
||||
"pausedTitle": "Oynatma Duraklatıldı",
|
||||
"pausedAt": "{{time}} konumunda duraklatıldı",
|
||||
"resumeHint": "Devam etmek için {{prefix}}resume yazın"
|
||||
},
|
||||
"ping": {
|
||||
"title": "🏓 Pong!",
|
||||
"measuring": "🏓 Ping ölçülüyor...",
|
||||
"roundtrip": "📶 **Gecikme**",
|
||||
"gateway": "🌐 **Gateway**",
|
||||
"node": "🎧 **NodeLink**"
|
||||
"node": "🎧 **NodeLink**",
|
||||
"pingDashboard": "Ağ ve Ses Düğümü Durumu",
|
||||
"operational": "Sorunsuz",
|
||||
"restApi": "REST API",
|
||||
"gatewayWs": "Ağ Geçidi WebSocket",
|
||||
"audioNode": "Ses Düğümü"
|
||||
},
|
||||
"play": {
|
||||
"searching": "🔍 Aranıyor...",
|
||||
@@ -492,6 +549,30 @@
|
||||
"added": "[{{title}}]({{url}}) kuyruğa başarıyla eklendi.",
|
||||
"addedPlaylist": "**{{count}}** şarkı kuyruğa başarıyla eklendi.",
|
||||
"nowPlaying": "🎵 <#{{channel}}> kanalında {{author}} tarafından [{{title}}]({{url}}) çalınıyor",
|
||||
"addedToQueue": "Kuyruğa Eklendi",
|
||||
"position": "Sıra",
|
||||
"positionValue": "Kuyrukta #{{position}}",
|
||||
"positionNext": "Sıradaki",
|
||||
"duration": "Süre",
|
||||
"estimatedWait": "Tahmini Başlama",
|
||||
"estimatedWaitMinutes": "~{{minutes}} dk",
|
||||
"estimatedWaitLessMinute": "< 1 dk",
|
||||
"requestedBy": "İsteyen: {{user}}",
|
||||
"queueCount": "Kuyruk: {{count}} {{plural}}",
|
||||
"trackSingle": "şarkı",
|
||||
"trackPlural": "şarkı",
|
||||
"autoNowPlaying": "Şimdi Çalıyor",
|
||||
"byAuthor": "{{author}} tarafından",
|
||||
"upNext": "Sıradaki",
|
||||
"controlsHint": "Oynatıcı kontrolleri için {{prefix}}np yazın",
|
||||
"queueEndedTitle": "Kuyruk Bitti",
|
||||
"queueEndedHeading": "Tüm şarkılar çalındı!",
|
||||
"queueEndedBody": "Kuyrukta çalınacak şarkı kalmadı. `{{prefix}}play <şarkı>` ile yeni şarkılar ekleyin veya müziğe devam edin!",
|
||||
"radioSuggestionTitle": "7/24 Radyo",
|
||||
"radioSuggestionDesc": "Kesintisiz istasyonlar için `{{prefix}}radio` deneyin",
|
||||
"autoplaySuggestionTitle": "Otomatik Oynatma",
|
||||
"autoplaySuggestionDesc": "Sonsuz öneriler için `{{prefix}}autoplay` yazın",
|
||||
"voiceSessionPaused": "Ses Oturumu Duraklatıldı",
|
||||
"noResults": "'{{query}}' için sonuç bulunamadı.",
|
||||
"searchFailed": "**Arama başarısız. Lütfen tekrar deneyin.**",
|
||||
"noData": "Parça yüklenemedi - veri döndürülmedi.",
|
||||
@@ -502,10 +583,34 @@
|
||||
"bilibiliResolving": "📺 Bilibili videosu çözümleniyor...",
|
||||
"bilibiliNoAudio": "❌ **{{title}}** için çalınabilir ses yok — video bölge kilitli, ücretli olabilir veya silinmiş olabilir.",
|
||||
"bilibiliError": "❌ Bilibili: {{message}}",
|
||||
"bilibiliDisabled": "❌ Bilibili oynatma devre dışı (config.json → bilibili.enabled)."
|
||||
"bilibiliDisabled": "❌ Bilibili oynatma devre dışı (config.json → bilibili.enabled).",
|
||||
"sourceRadio": "7/24 Radyo",
|
||||
"sourceMusic": "Müzik",
|
||||
"station": "İstasyon",
|
||||
"channel": "Kanal",
|
||||
"artist": "Sanatçı",
|
||||
"modeVol": "Mod / Ses",
|
||||
"volume": "Ses",
|
||||
"liveBroadcast": "Canlı Yayın",
|
||||
"customCut": "Özel Kesim",
|
||||
"unknownAuthor": "Bilinmeyen Sanatçı",
|
||||
"unknownTrack": "Bilinmeyen Şarkı",
|
||||
"endOfQueue": "Kuyruk sonu",
|
||||
"none": "Yok",
|
||||
"on": "Açık",
|
||||
"off": "Kapalı",
|
||||
"nowPlayingFooter": "Kuyruk: {{count}} {{plural}} ({{remaining}}) • Sıradaki: {{next}}",
|
||||
"nowPlayingFooterEmpty": "Kuyruk: Boş • Otomatik Oynatma: {{autoplay}}",
|
||||
"loopSongLabel": "Şarkı",
|
||||
"loopQueueLabel": "Kuyruk",
|
||||
"loopOffLabel": "Kapalı",
|
||||
"sourceSpotify": "Spotify",
|
||||
"sourceSoundcloud": "SoundCloud",
|
||||
"sourceYoutube": "YouTube"
|
||||
},
|
||||
"playnext": {
|
||||
"searching": "🔍 Aranıyor..."
|
||||
"searching": "🔍 Aranıyor...",
|
||||
"playingNext": "⚡ Sıradaki Parça • Sıranın Başı (#1)"
|
||||
},
|
||||
"player": {
|
||||
"title": "🎧 Müzik Oynatıcı Kontrolleri",
|
||||
@@ -559,7 +664,8 @@
|
||||
"unknownStation": "❌ Bilinmeyen istasyon `{{station}}`. Kullanılabilir: {{stations}}\n\nGörüntülemek için `$prefixradio list` kullanın.",
|
||||
"nowPlaying": "📻 <#{{channel}}> kanalında [{{author}}]({{url}}) tarafından _{{title}}_ yayınlanıyor",
|
||||
"skipHint": "_Radyoyu durdurmak için `$prefixskip` veya istasyon değiştirmek için `$prefixradio list` kullanın._",
|
||||
"prevNext": "⬅️ Önceki ➡️ Sonraki ❌ İptal"
|
||||
"prevNext": "⬅️ Önceki ➡️ Sonraki ❌ İptal",
|
||||
"stationsAuthor": "7/24 Radyo İstasyonu Dizini"
|
||||
},
|
||||
"reload": {
|
||||
"indexNoReload": "❌ `index.mjs` sıcak yeniden yüklenemez — tam yeniden başlatma yapın.",
|
||||
@@ -576,12 +682,20 @@
|
||||
},
|
||||
"remove": {
|
||||
"indexOutOfBounds": "Geçersiz sıra numarası",
|
||||
"removed": "**{{title}}** kuyruktan başarıyla kaldırıldı."
|
||||
"removed": "**{{title}}** kuyruktan başarıyla kaldırıldı.",
|
||||
"removedAuthor": "🗑️ Kuyruktan Kaldırıldı",
|
||||
"removedSingleDesc": "Kuyruktaki **#{{position}}** numaralı parça kaldırıldı.",
|
||||
"removedRangeTitle": "{{count}} Parça Kaldırıldı",
|
||||
"removedRangeDesc": "Kuyruktaki **#{{from}}** ile **#{{to}}** arasındaki parçalar başarıyla kaldırıldı.",
|
||||
"remainingFooter": "Kuyrukta {{count}} parça kaldı • {{prefix}}list"
|
||||
},
|
||||
"resume": {
|
||||
"nothingPlaying": "❌ Şu anda çalan bir şey yok!",
|
||||
"notPaused": "❌ Duraklatılmış değil!",
|
||||
"resumed": "▶️ Devam ettirildi"
|
||||
"resumed": "▶️ Devam ettirildi",
|
||||
"resumedTitle": "Oynatma Devam Ediyor",
|
||||
"resumedAt": "{{time}} konumunda devam ettirildi",
|
||||
"pauseHint": "Duraklatmak için {{prefix}}pause yazın"
|
||||
},
|
||||
"search": {
|
||||
"loadingResults": "⏳ Sonuçlar yükleniyor...",
|
||||
@@ -592,7 +706,8 @@
|
||||
"cancelled": "❌ İptal edildi.",
|
||||
"added": "✅ [{{title}}]({{url}}) kuyruğa eklendi!",
|
||||
"timedOut": "⏰ Arama zaman aşımına uğradı.",
|
||||
"sessionClosed": "Oturum kapatıldı"
|
||||
"sessionClosed": "Oturum kapatıldı",
|
||||
"cancelOption": "İptal"
|
||||
},
|
||||
"servers": {
|
||||
"noServers": "_Sunucu bulunamadı._",
|
||||
@@ -628,48 +743,15 @@
|
||||
"serverHeader": "Sunucu: **{{name}}**",
|
||||
"shortcutsHint": "Kısayollar: `{{prefix}}247`, `{{prefix}}prefix`, `{{prefix}}voteskip`, `{{prefix}}voteskiplimit`\nHerhangi bir ayar hakkında bilgi için `{{prefix}}settings help <ayar>` kullanın.",
|
||||
"247Panel": {
|
||||
"title": "♾️ 24/7 Modu",
|
||||
"noChannelsSaved": "Kayıtlı ses kanalı yok.",
|
||||
"gettingStarted": "Başlangıç",
|
||||
"gettingStartedValue": "• `{{prefix}}247 on` — kalıcı olarak kal\n• `{{prefix}}247 auto` — kal + bağlantı kesilmesinden sonra otomatik yeniden katıl",
|
||||
"footer": "{{prefix}}247 açık | {{prefix}}247 otomatik | {{prefix}}247 kapalı",
|
||||
"channelsSaved_one": "{{count}} kanal kaydedildi",
|
||||
"channelsSaved_other": "{{count}} kanal kaydedildi",
|
||||
"summaryOn": "✅ {{count}} açık",
|
||||
"summaryAuto": "🔄 {{count}} otomatik",
|
||||
"modeOn": "✅ Açık",
|
||||
"modeAuto": "🔄 Otomatik",
|
||||
"modeOff": "❌ Kapalı",
|
||||
"enabledTitle": "♾️ 24/7 {{mode}}",
|
||||
"enabledDescription": "{{channel}} → **{{mode}}** — {{summary}}",
|
||||
"enabledFooter": "Bir kanal için devre dışı bırakmak üzere {{prefix}}247 off",
|
||||
"savedChannels": "Kayıtlı Kanallar",
|
||||
"currentMarker": " ←",
|
||||
"disabledTitle": "♾️ 24/7 Devre Dışı",
|
||||
"noChannelsSavedField": "Kayıtlı Kanal Yok",
|
||||
"allChannelsRemoved": "Tüm 24/7 kanalları kaldırıldı. Bot hareketsizlikten sonra sesli kanaldan ayrılacak.",
|
||||
"channelRemoved": "<#{{channel}}> kaldırıldı",
|
||||
"channelsRemaining_one": "{{count}} kanal kaldı",
|
||||
"channelsRemaining_other": "{{count}} kanal kaldı",
|
||||
"reenableFooter": "Yeniden etkinleştirmek için {{prefix}}247 on | {{prefix}}247 auto",
|
||||
"allChannelsLabel": "❌ Tüm Kanallar",
|
||||
"allChannelsDisabled": "Bu sunucudaki tüm kanallar için 24/7 modu **devre dışı bırakıldı**.\nBot hareketsizlikten sonra sesli kanaldan ayrılacak.",
|
||||
"noChannelsSavedShort": "Kayıtlı kanal yok",
|
||||
"joinFailed": "⚠️ 24/7 {{mode}} kaydedildi, ancak <#{{channel}}> kanalına katılma başarısız.\nHata: `{{error}}`\n\nDaha sonra `{{prefix}}join` veya `{{prefix}}play` deneyin.",
|
||||
"statusConnected": "🟢 Bağlı",
|
||||
"statusReconnecting": "🟡 Yeniden bağlanıyor",
|
||||
"statusOffline": "🔴 Çevrimdışı",
|
||||
"autoRecoveryLine": "♻️ Otomatik kurtarma etkin — kayıtlı kanallar her {{seconds}} saniyede bir denetlenir",
|
||||
"autoRecoveryDisabledLine": "♻️ Otomatik kurtarma hazır bekliyor",
|
||||
"enabledLine": "✅ 24/7 **etkin** — bot bağlı kalır ve bağlantı koparsa otomatik olarak yeniden katılır.",
|
||||
"disabledHint": "Bir ses kanalına katılın ve etkinleştirmek için `{{prefix}}247` komutunu kullanın.",
|
||||
"footerLine": "{{prefix}}247 · aç/kapat · {{prefix}}247 off · tümünü kapat",
|
||||
"confirmEnabled": "✅ 24/7 {{channel}} kanalında etkinleştirildi — bot bağlı kalır ve bağlantı koparsa otomatik olarak yeniden katılır.",
|
||||
"confirmDisabled": "❌ 24/7 {{channel}} kanalında devre dışı bırakıldı — bot boşta olduğunda kanaldan ayrılacak.",
|
||||
"confirmDisabledAll": "❌ Bu sunucudaki tüm kanallar için 24/7 devre dışı bırakıldı — bot boşta olduğunda kanaldan ayrılacak.",
|
||||
"disabledLine": "❌ 24/7 **devre dışı**",
|
||||
"activeChannels_one": "✅ 24/7 {{count}} kanalda etkin:",
|
||||
"activeChannels_other": "✅ 24/7 {{count}} kanalda etkin:"
|
||||
"watchdogAuthor": "📻 24/7 Ses Bekçisi İzleyici",
|
||||
"watchdogTitle": "Her Zaman Açık Ses Sistemi",
|
||||
"watchdogFieldRecovery": "Otomatik Kurtarma",
|
||||
"watchdogFieldInactivity": "Boşta Kalma Çıkışı",
|
||||
"watchdogRecoveryArmed": "Hazır ({{seconds}}s Tarama)",
|
||||
"watchdogInactivitySuppressed": "Bastırıldı (24/7)",
|
||||
"watchdogStatusMonitoring": "İZLENİYOR",
|
||||
"watchdogStatusStandby": "BEKLEMEDE",
|
||||
"watchdogFooter": "Modu değiştirmek için: {{prefix}}247 on veya {{prefix}}247 off • Bekçi Canlı"
|
||||
},
|
||||
"enabled": "✅ etkin",
|
||||
"disabled": "❌ devre dışı",
|
||||
@@ -701,11 +783,26 @@
|
||||
"channelsLabel": "{{count}} kanal",
|
||||
"channelsLabelPlural": "{{count}} kanal",
|
||||
"thisServer": "bu sunucu",
|
||||
"max247Channels": "Bir sunucuda en fazla {{max}} 24/7 ses kanalı kaydedebilirsiniz. Önce kayıtlı kanallardan birinde `{{prefix}}247 off` kullanın."
|
||||
"max247Channels": "Bir sunucuda en fazla {{max}} 24/7 ses kanalı kaydedebilirsiniz. Önce kayıtlı kanallardan birinde `{{prefix}}247 off` kullanın.",
|
||||
"categoryGeneral": "🌐 Genel ve Yerelleştirme",
|
||||
"categoryAudio": "🔊 Ses ve Çalma",
|
||||
"categoryVoice247": "📻 24/7 Ses Bağlantısı",
|
||||
"dashboardTitle": "⚙️ Sunucu Kontrol Paneli",
|
||||
"dashboardFooter": "Ayarları değiştirmek için: {{prefix}}settings set <key> <val> • {{prefix}}settings help",
|
||||
"statusActive247": "Aktif 24/7",
|
||||
"statusActiveChannel": "Aktif ({{channel}})",
|
||||
"statusActiveChannels": "Aktif ({{count}} kanal)",
|
||||
"inspectorTitle": "⚙️ Ayar İnceleyici",
|
||||
"settingValueField": "Geçerli Değer",
|
||||
"settingDescField": "Açıklama",
|
||||
"inspectorFooter": "Güncellemek için {{prefix}}settings set {{setting}} <val> kullanın"
|
||||
},
|
||||
"shuffle": {
|
||||
"emptyQueue": "Kuyrukta karıştırılacak bir şey yok.",
|
||||
"shuffled": "🔀 Kuyruk karıştırıldı"
|
||||
"shuffled": "🔀 Kuyruk karıştırıldı",
|
||||
"shuffledTitle": "Sıra Karıştırıldı",
|
||||
"shuffledSummary": "{{count}} {{plural}} rastgele karıştırıldı",
|
||||
"newUpNext": "Yeni Sıradaki #1"
|
||||
},
|
||||
"skip": {
|
||||
"nothingPlaying": "❌ Şu anda çalan bir şey yok!",
|
||||
@@ -713,7 +810,11 @@
|
||||
"skippedTrack": "⏭️ [{{title}}]({{url}}) atlandı",
|
||||
"skippedToPosition": "⏭️ {{position}} konumuna atlandı",
|
||||
"voteAdded": "🗳️ Atlama oylaması: **{{votes}}/{{needed}}**. Oyunu eklemek için komutu tekrar çalıştır!",
|
||||
"alreadyVoted": "🗳️ Zaten atlamak için oy verdin! Şu ana kadar **{{votes}}/{{needed}}** oy."
|
||||
"alreadyVoted": "🗳️ Zaten atlamak için oy verdin! Şu ana kadar **{{votes}}/{{needed}}** oy.",
|
||||
"skippedTitle": "Parça Atlandı",
|
||||
"skippedAt": "{{time}} konumunda atlandı",
|
||||
"upNext": "Sıradaki",
|
||||
"queueRemaining": "Sırada {{count}} {{plural}}"
|
||||
},
|
||||
"stats": {
|
||||
"title": "Remix Müzik Botu",
|
||||
@@ -752,13 +853,20 @@
|
||||
"thumbnail": {
|
||||
"nothingPlaying": "Şu anda çalan bir şey yok.",
|
||||
"noThumbnail": "Küçük resim mevcut değil.",
|
||||
"thumbnail": "[{{title}}]({{url}}) küçük resmi:"
|
||||
"thumbnail": "[{{title}}]({{url}}) küçük resmi:",
|
||||
"thumbTitle": "Albüm Resmi",
|
||||
"highRes": "Yüksek Çözünürlük",
|
||||
"noArtwork": "❌ Bu parça için kapak resmi bulunamadı.",
|
||||
"expandHint": "Görseli büyütmek için tıklayın"
|
||||
},
|
||||
"volume": {
|
||||
"current": "🔊 Mevcut ses seviyesi: `{{volume}}%`",
|
||||
"outOfRange": "❌ Ses seviyesi `0` ile `{{max}}%` arasında olmalıdır.",
|
||||
"changed": "🔊 Bu oturum için ses seviyesi `{{volume}}%` olarak değiştirildi.",
|
||||
"setPending": "Ses seviyesi `{{volume}}%` olarak ayarlandı — bağlanıldığında uygulanacak."
|
||||
"setPending": "Ses seviyesi `{{volume}}%` olarak ayarlandı — bağlanıldığında uygulanacak.",
|
||||
"volumeAdjusted": "Ses Düzeyi Ayarlandı",
|
||||
"currentVolume": "Mevcut Ses",
|
||||
"volumeHint": "Kullanım: {{prefix}}volume <0-150>"
|
||||
},
|
||||
"volumedefault": {
|
||||
"title": "🔊 Ses Seviyesi Ayarları",
|
||||
@@ -768,7 +876,12 @@
|
||||
"noPermission": "⚠️ Varsayılanı değiştirmek için **Sunucuyu Yönet** izni gerekli.",
|
||||
"noPermissionSet": "❌ Sunucu varsayılan ses seviyesini ayarlamak için **Sunucuyu Yönet** izni gerekli.",
|
||||
"outOfRange": "❌ Ses seviyesi `0` ile `{{max}}%` arasında olmalıdır.",
|
||||
"saved": "🔊 Sunucu varsayılan ses seviyesi `{{volume}}%` olarak kaydedildi."
|
||||
"saved": "🔊 Sunucu varsayılan ses seviyesi `{{volume}}%` olarak kaydedildi.",
|
||||
"author": "🔊 Sunucu Varsayılan Ses Düzeyi",
|
||||
"fieldDefault": "Varsayılan Ses",
|
||||
"fieldActive": "Aktif Oturum Sesi",
|
||||
"authorSaved": "🔊 Sunucu Varsayılan Ses Düzeyi Kaydedildi",
|
||||
"fieldNewDefault": "Yeni Varsayılan Düzey"
|
||||
},
|
||||
"seek": {
|
||||
"nothingPlaying": "❌ Şu anda çalan bir şey yok!",
|
||||
@@ -778,11 +891,18 @@
|
||||
"exceedsDuration": "❌ Konum parça süresini aşıyor (**{{duration}}**).",
|
||||
"seeked": "⏩ **{{position}}** konumuna gidildi",
|
||||
"notSupported": "❌ Mevcut ses düğümü konuma gitmeyi desteklemiyor.",
|
||||
"failed": "❌ Konuma gitme başarısız: {{error}}"
|
||||
"failed": "❌ Konuma gitme başarısız: {{error}}",
|
||||
"seekTitle": "Konuma Atlandı",
|
||||
"seekSubtitle": "{{position}} / {{duration}}"
|
||||
},
|
||||
"autoplay": {
|
||||
"enabled": "🔁 Otomatik çalma **etkin** — kuyruk bittiğinde benzer parçalar otomatik olarak eklenecek.",
|
||||
"disabled": "➡️ Otomatik çalma **devre dışı** — kuyruk bittiğinde bot duracak."
|
||||
"disabled": "➡️ Otomatik çalma **devre dışı** — kuyruk bittiğinde bot duracak.",
|
||||
"autoplayTitleEnabled": "Sonsuz Otomatik Çalma Etkin",
|
||||
"autoplayTitleDisabled": "Otomatik Çalma Devre Dışı",
|
||||
"autoplayDescEnabled": "Sıra bittiğinde Remix otomatik olarak önerilen parçaları ekler.",
|
||||
"autoplayDescDisabled": "Otomatik çalma kapatıldı. Sıra bittiğinde müzik duracak.",
|
||||
"autoplayEngine": "Motor: YouTube Mix + Last.fm"
|
||||
},
|
||||
"trackopt": {
|
||||
"notAvailable": "❌ Parça seçenekleri özelliği mevcut değil.",
|
||||
@@ -810,30 +930,56 @@
|
||||
"listEmpty": "📭 Kayıtlı parça seçeneğiniz yok. Eklemek için `{{prefix}}trackopt set <başlangıç> [bitiş]` kullanın!",
|
||||
"listTitle": "📋 **Parça Seçenekleriniz** ({{count}})",
|
||||
"listEntry": "• **{{title}}** — {{start}} → {{end}}",
|
||||
"listHint": "Adlandırılmış bir kırpma uygulamak için `{{prefix}}trackopt play <kısayol>` veya birini silmek için `{{prefix}}trackopt remove [kısayol]` kullanın."
|
||||
"listHint": "Adlandırılmış bir kırpma uygulamak için `{{prefix}}trackopt play <kısayol>` veya birini silmek için `{{prefix}}trackopt remove [kısayol]` kullanın.",
|
||||
"savedAuthor": "✂️ Özel Parça Kırpması Kaydedildi",
|
||||
"playbackWindowField": "Oynatma Penceresi",
|
||||
"aliasField": "Takma Ad",
|
||||
"activeTrimField": "Aktif Kırpma",
|
||||
"playHintFooter": "Bu kırpmayı istediğiniz zaman oynatın: {{prefix}}trackopt play {{alias}}",
|
||||
"savedListAuthor": "✂️ Kaydedilen Parça Kırpmaları",
|
||||
"trimProfilesFooter": "{{count}} kırpma profili kaydedildi • {{prefix}}trackopt play <alias> ile uygulayın",
|
||||
"appliedAuthor": "✂️ Parça Kırpması Uygulandı",
|
||||
"activeCutRangeField": "Aktif Kırpma Aralığı"
|
||||
},
|
||||
"normalize": {
|
||||
"statusEnabled": "🔊 Dinamik ses normalleştirmesi (ReplayGain) bu sunucu için şu anda **Etkin**.",
|
||||
"statusDisabled": "🔇 Dinamik ses normalleştirmesi (ReplayGain) bu sunucu için şu anda **Devre Dışı**.",
|
||||
"info": "Etkinleştirildiğinde, çalma ses yüksekliği uluslararası -14 LUFS standardına göre dinamik olarak dengelenir, böylece sessiz akustik parçalar ve yüksek sesli parçalar dengeli bir dinleme seviyesinde çalar.",
|
||||
"trackInfo": "Mevcut Parça Bilgisi:\n• Kaynak: `{{source}}`\n• Kazanç ayarı: `{{gainDb}} dB` ({{gainPct}}%)\n• Etkili ses seviyesi: `{{effective}}%`"
|
||||
"trackInfo": "Mevcut Parça Bilgisi:\n• Kaynak: `{{source}}`\n• Kazanç ayarı: `{{gainDb}} dB` ({{gainPct}}%)\n• Etkili ses seviyesi: `{{effective}}%`",
|
||||
"headerAuthor": "🎚️ Dinamik Ses Seviyesi Normalizasyonu",
|
||||
"headerTitle": "EBU R128 Ses Dengeleme",
|
||||
"footer": "YouTube, Spotify ve SoundCloud arasındaki ses farklarını dengeler",
|
||||
"fieldSource": "Parça Kaynağı",
|
||||
"fieldGainOffset": "Kazanç Dengelemesi",
|
||||
"fieldEffectiveVolume": "Etkin Ses Düzeyi"
|
||||
},
|
||||
"bassboost": {
|
||||
"disabled": "🔇 Bas güçlendirme devre dışı bırakıldı — orijinal ses dengesi geri yüklendi.",
|
||||
"applied": "🔊 **Bas Güçlendirme ({{level}})** uygulandı! Gerçek zamanlı ekolayzer aktif.",
|
||||
"failed": "❌ Bas güçlendirme uygulanamadı: {{reason}}"
|
||||
"failed": "❌ Bas güçlendirme uygulanamadı: {{reason}}",
|
||||
"eqTitle": "Ekolayzır Önayarı Uygulandı",
|
||||
"subBass": "Alt Bas",
|
||||
"midBass": "Orta Bas",
|
||||
"high": "Tiz",
|
||||
"resetHint": "Sıfırlamak için: {{prefix}}bassboost off"
|
||||
},
|
||||
"speed": {
|
||||
"reset": "⏩ Oynatma hızı normal **1.0×** seviyesine sıfırlandı.",
|
||||
"current": "⏩ Mevcut oynatma hızı: **{{speed}}×**.\nHızı değiştirmek için `{{prefix}}speed <0.5-2.0>` kullanın.",
|
||||
"set": "{{emoji}} Oynatma hızı **{{speed}}×** olarak ayarlandı.",
|
||||
"failed": "❌ Hız ayarlanamadı: {{reason}}"
|
||||
"failed": "❌ Hız ayarlanamadı: {{reason}}",
|
||||
"speedTitle": "Oynatma Hızı Ayarlandı",
|
||||
"speedMultiplier": "{{speed}}× Çarpanı",
|
||||
"resetHint": "Sıfırlamak için: {{prefix}}speed"
|
||||
},
|
||||
"pitch": {
|
||||
"reset": "🎵 Ses perdesi normal **1.0×** seviyesine sıfırlandı.",
|
||||
"current": "🎵 Mevcut ses perdesi: **{{pitch}}×**.\nPerdeyi değiştirmek için `{{prefix}}pitch <0.5-2.0>` kullanın.",
|
||||
"set": "🎵 Ses perdesi **{{pitch}}×** olarak ayarlandı.",
|
||||
"failed": "❌ Ses perdesi ayarlanamadı: {{reason}}"
|
||||
"failed": "❌ Ses perdesi ayarlanamadı: {{reason}}",
|
||||
"pitchTitle": "Ses Tonu Ayarlandı",
|
||||
"pitchMultiplier": "{{pitch}}× Ton Kaydırma",
|
||||
"resetHint": "Sıfırlamak için: {{prefix}}pitch"
|
||||
},
|
||||
"gateway": {
|
||||
"missingPermsFallback": "⚠️ Düzgün çalışmak için ihtiyacım olan izinler eksik! Eksik: **{{perms}}**. Lütfen bir sunucu yöneticisinden bu izinleri Sunucu Ayarları → Roller'den vermesini isteyin."
|
||||
@@ -874,6 +1020,12 @@
|
||||
"checkYes": "✅ Bu {{type}} için **aktif oyunun var** — teşekkürler!",
|
||||
"checkNo": "❌ Bu {{type}} için henüz oy vermedin (ya da oyunun süresi doldu).\n**[Hemen oy ver!]({{url}})**",
|
||||
"checkUnknown": "⚠️ Oy durumu şu anda kontrol edilemedi — bir dakika sonra tekrar dene."
|
||||
},
|
||||
"move": {
|
||||
"reorderedAuthor": "🔀 Parça Yeniden Sıralandı",
|
||||
"reorderedDesc": "Kuyrukta **#{{from}}** ➔ **#{{to}}** konumuna taşındı.",
|
||||
"nowPlayingNext": "Şimdi geçerli şarkıdan sonra çalacak • {{prefix}}np",
|
||||
"viewUpdatedQueue": "Güncellenmiş kuyruğu görmek için {{prefix}}list"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user