feat(stats): add server music leaderboard (%top), community recap (%wrapped)

- implement GuildStats manager for tracking playback history, listening hours, and user engagement
- wire asynchronous play recording into PlayerEventsMixin on track start
- add %top command with timeframe filtering (week, month, all) and top artist highlight
- add %wrapped command displaying total streamed hours, queued tracks, peak hour, and top DJ
This commit is contained in:
NoLogicAlan committed 2026-11-20 23:36:11 +03:00
1 parent a99e5bca37
commit 22f48cfaab
12 files changed
+650 -8

No files matched your search

+82
View File
@@ -0,0 +1,82 @@
/**
* @module commands/top
* @description Display the most played tracks and top artists for the server.
*/
import { CommandBuilder } from "../src/commands/index.mjs";
import { EmbedBuilder } from "@fluxerjs/core";
import { GuildStats } from "../src/music/GuildStats.mjs";
import { cleanId, Utils } from "../src/utils/Utils.mjs";
import { getGlobalColor } from "../src/ui/index.mjs";
/** @type {CommandBuilder} */
export const command = new CommandBuilder()
.setName("top")
.setDescription("View the most played songs and top artists in this server.", "commands.top")
.addAliases("leaderboard", "chart", "toptracks")
.setCategory("music")
.addTextOption((o) =>
o
.setName("timeframe")
.setDescription("Filter timeframe: week, month, or all.", "options.top.timeframe")
.setRequired(false)
);
/**
* Run handler for the top command.
* @param {object} message
* @param {object} [data]
* @returns {Promise<void>}
*/
export async function run(message, data) {
const guildId = cleanId(message.message?.guildId ?? message.channel?.guildId);
const prefix = this.handler.getPrefix(guildId) || "%";
const rawArg = (data?.get?.("timeframe")?.value ?? "").trim().toLowerCase();
let timeframe = "month";
if (rawArg === "week" || rawArg === "w" || rawArg === "7d") {
timeframe = "week";
} else if (rawArg === "all" || rawArg === "alltime" || rawArg === "total") {
timeframe = "all";
}
const { tracks, topArtist } = GuildStats.getTopTracks(guildId, timeframe, 10);
const timeframeLabel = timeframe === "week"
? this.t(message, "responses.top.timeframeWeek")
: (timeframe === "all" ? this.t(message, "responses.top.timeframeAll") : this.t(message, "responses.top.timeframeMonth"));
if (!tracks || tracks.length === 0) {
const emptyEmbed = new EmbedBuilder()
.setColor(getGlobalColor())
.setAuthor({ name: `🏆 ${this.t(message, "responses.top.topAuthor")}` })
.setTitle(this.t(message, "responses.top.topTitle", { timeframe: timeframeLabel }))
.setDescription(this.t(message, "responses.top.noData", { prefix }))
.setFooter({ text: this.t(message, "responses.top.topFooter", { prefix }) });
return message.reply({ embeds: [emptyEmbed] });
}
const medals = ["🥇", "🥈", "🥉", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣", "🔟"];
const playsLabel = this.t(message, "responses.top.plays");
const lines = tracks.map((t, i) => {
const medal = medals[i] || `\`#${i + 1}\``;
const cleanTitle = Utils.truncate(t.title, 40);
const cleanArtist = Utils.truncate(t.artist, 30);
return `${medal} **${cleanTitle}**\n ↳ *${cleanArtist}* • \`${t.count} ${playsLabel}\``;
});
let desc = lines.join("\n\n");
if (topArtist) {
desc += `\n\n⭐ **Top Artist:** **${topArtist.name}** (\`${topArtist.count} ${playsLabel}\`)`;
}
const embed = new EmbedBuilder()
.setColor(getGlobalColor())
.setAuthor({ name: `🏆 ${this.t(message, "responses.top.topAuthor")}` })
.setTitle(this.t(message, "responses.top.topTitle", { timeframe: timeframeLabel }))
.setDescription(desc)
.setFooter({ text: this.t(message, "responses.top.topFooter", { prefix }) });
return message.reply({ embeds: [embed] });
}
+88
View File
@@ -0,0 +1,88 @@
/**
* @module commands/wrapped
* @description Generate community music recap and statistics for the server.
*/
import { CommandBuilder } from "../src/commands/index.mjs";
import { EmbedBuilder } from "@fluxerjs/core";
import { GuildStats } from "../src/music/GuildStats.mjs";
import { cleanId, Utils } from "../src/utils/Utils.mjs";
import { getGlobalColor } from "../src/ui/index.mjs";
/** @type {CommandBuilder} */
export const command = new CommandBuilder()
.setName("wrapped")
.setDescription("Generate a community music recap and listening statistics.", "commands.wrapped")
.addAliases("recap", "summary")
.setCategory("music");
/**
* Run handler for the wrapped command.
* @param {object} message
* @returns {Promise<void>}
*/
export async function run(message) {
const guildId = cleanId(message.message?.guildId ?? message.channel?.guildId);
const prefix = this.handler.getPrefix(guildId) || "%";
const stats = GuildStats.getWrapped(guildId);
if (!stats) {
const emptyEmbed = new EmbedBuilder()
.setColor(getGlobalColor())
.setAuthor({ name: `🎧 ${this.t(message, "responses.wrapped.wrappedAuthor")}` })
.setTitle(this.t(message, "responses.wrapped.wrappedTitle"))
.setDescription(this.t(message, "responses.top.noData", { prefix }))
.setFooter({ text: this.t(message, "responses.wrapped.wrappedFooter", { prefix }) });
return message.reply({ embeds: [emptyEmbed] });
}
const playsLabel = this.t(message, "responses.top.plays");
const medals = ["🥇", "🥈", "🥉", "4️⃣", "5️⃣"];
let topSongsText = "";
if (stats.topTracks && stats.topTracks.length > 0) {
topSongsText = stats.topTracks
.map((t, i) => `${medals[i] || "•"} **${Utils.truncate(t.title, 35)}** — *${Utils.truncate(t.artist, 25)}* (\`${t.count} ${playsLabel}\`)`)
.join("\n");
} else {
topSongsText = "_No track history recorded yet._";
}
const djMention = stats.topUserId ? `<@${stats.topUserId}> (\`${stats.topUserPlays} ${playsLabel}\`)` : "N/A";
const embed = new EmbedBuilder()
.setColor(getGlobalColor())
.setAuthor({ name: `🎧 ${this.t(message, "responses.wrapped.wrappedAuthor")}` })
.setTitle(this.t(message, "responses.wrapped.wrappedTitle"))
.addFields(
{
name: `⏱️ ${this.t(message, "responses.wrapped.totalStreamed")}`,
value: `**${stats.totalHours}** hours`,
inline: true,
},
{
name: `🎵 ${this.t(message, "responses.wrapped.tracksQueued")}`,
value: `**${stats.totalTracks.toLocaleString()}** tracks`,
inline: true,
},
{
name: `⏰ ${this.t(message, "responses.wrapped.peakHour")}`,
value: `**${stats.peakHour}**`,
inline: true,
},
{
name: `👑 ${this.t(message, "responses.wrapped.topDJ")}`,
value: djMention,
inline: false,
},
{
name: `🏆 ${this.t(message, "responses.wrapped.topSongs")}`,
value: topSongsText,
inline: false,
}
)
.setFooter({ text: this.t(message, "responses.wrapped.wrappedFooter", { prefix }) });
return message.reply({ embeds: [embed] });
}
+264
View File
@@ -0,0 +1,264 @@
/**
* @module src/music/GuildStats
* @description In-memory and persisted per-guild music analytics tracker.
* Tracks track playback history, listening hours, user engagement, and leaderboards.
*/
import fs from "node:fs";
import path from "node:path";
import { logger } from "../core/Logger.mjs";
const STATS_DIR = path.join(process.cwd(), "storage", "guild_stats");
/**
* Format 24-hour index into standard 12-hour display.
* @param {number} hour
* @returns {string}
*/
function formatHour(hour) {
const h = hour % 24;
const period = h >= 12 ? "PM" : "AM";
const display = h % 12 === 0 ? 12 : h % 12;
return `${display}:00 ${period}`;
}
class GuildStatsManager {
constructor() {
/** @type {Map<string, object>} */
this._cache = new Map();
/** @type {Map<string, NodeJS.Timeout>} */
this._saveTimers = new Map();
}
/**
* Get or load guild stats object from cache or disk.
* @param {string} guildId
* @returns {object}
*/
_getGuildData(guildId) {
if (!guildId) return null;
if (this._cache.has(guildId)) {
return this._cache.get(guildId);
}
const data = {
guildId,
totalPlays: 0,
totalDurationMs: 0,
hourly: new Array(24).fill(0),
users: {},
songs: {},
recent: [],
};
try {
const filePath = path.join(STATS_DIR, `${guildId}.json`);
if (fs.existsSync(filePath)) {
const parsed = JSON.parse(fs.readFileSync(filePath, "utf8"));
if (parsed && typeof parsed === "object") {
data.totalPlays = Number(parsed.totalPlays) || 0;
data.totalDurationMs = Number(parsed.totalDurationMs) || 0;
if (Array.isArray(parsed.hourly) && parsed.hourly.length === 24) {
data.hourly = parsed.hourly;
}
if (parsed.users && typeof parsed.users === "object") {
data.users = parsed.users;
}
if (parsed.songs && typeof parsed.songs === "object") {
data.songs = parsed.songs;
}
if (Array.isArray(parsed.recent)) {
data.recent = parsed.recent;
}
}
}
} catch (e) {
logger.warn(`[GuildStats] Failed to load stats for ${guildId}:`, e?.message);
}
this._cache.set(guildId, data);
return data;
}
/**
* Record a track playback event for a specific guild.
* @param {object} param0
* @param {string} param0.guildId
* @param {object} param0.track
* @param {string|null} [param0.userId]
*/
recordPlay({ guildId, track, userId = null }) {
if (!guildId || !track) return;
const data = this._getGuildData(guildId);
if (!data) return;
const title = track.title || "Unknown Track";
const artist = track.artist || (typeof track.author === "object" ? track.author?.name : track.author) || "Unknown Artist";
const durationMs = (() => {
const d = track.duration;
if (!d) return 0;
if (typeof d === "object" && d?.seconds) return d.seconds * 1000;
if (typeof d === "number") return d;
return 0;
})();
data.totalPlays += 1;
data.totalDurationMs += durationMs;
const currentHour = new Date().getHours();
data.hourly[currentHour] = (data.hourly[currentHour] || 0) + 1;
if (userId && typeof userId === "string" && userId !== "system") {
data.users[userId] = (data.users[userId] || 0) + 1;
}
const songKey = `${title}:::${artist}`;
if (!data.songs[songKey]) {
data.songs[songKey] = { title, artist, count: 0, durationMs };
}
data.songs[songKey].count += 1;
data.recent.unshift({
title,
artist,
durationMs,
userId: userId || null,
ts: Date.now(),
});
if (data.recent.length > 1000) {
data.recent.length = 1000;
}
this._scheduleSave(guildId);
}
/**
* Get top tracks for a guild with timeframe filtering.
* @param {string} guildId
* @param {string} [timeframe="month"] - "week" | "month" | "all"
* @param {number} [limit=10]
* @returns {{tracks: Array, topArtist: {name: string, count: number}|null}}
*/
getTopTracks(guildId, timeframe = "month", limit = 10) {
const data = this._getGuildData(guildId);
if (!data || data.totalPlays === 0) {
return { tracks: [], topArtist: null };
}
let trackMap = {};
const artistMap = {};
if (timeframe === "all") {
trackMap = data.songs;
for (const item of Object.values(trackMap)) {
artistMap[item.artist] = (artistMap[item.artist] || 0) + item.count;
}
} else {
const now = Date.now();
const cutoff = timeframe === "week" ? now - 7 * 86_400_000 : now - 30 * 86_400_000;
for (const p of data.recent) {
if (p.ts >= cutoff) {
const k = `${p.title}:::${p.artist}`;
if (!trackMap[k]) {
trackMap[k] = { title: p.title, artist: p.artist, count: 0, durationMs: p.durationMs };
}
trackMap[k].count += 1;
artistMap[p.artist] = (artistMap[p.artist] || 0) + 1;
}
}
}
const tracks = Object.values(trackMap)
.sort((a, b) => b.count - a.count)
.slice(0, Math.max(1, Math.min(25, limit)));
let topArtist = null;
const sortedArtists = Object.entries(artistMap).sort((a, b) => b[1] - a[1]);
if (sortedArtists.length > 0 && sortedArtists[0][0] !== "Unknown Artist") {
topArtist = { name: sortedArtists[0][0], count: sortedArtists[0][1] };
}
return { tracks, topArtist };
}
/**
* Get community monthly wrapped summary statistics.
* @param {string} guildId
* @returns {object|null}
*/
getWrapped(guildId) {
const data = this._getGuildData(guildId);
if (!data || data.totalPlays === 0) {
return null;
}
const totalHours = Math.round((data.totalDurationMs / 3_600_000) * 10) / 10;
let peakHourIndex = 0;
let peakHourCount = 0;
for (let i = 0; i < 24; i++) {
if ((data.hourly[i] || 0) > peakHourCount) {
peakHourCount = data.hourly[i];
peakHourIndex = i;
}
}
let topUserId = null;
let topUserPlays = 0;
for (const [uid, count] of Object.entries(data.users || {})) {
if (count > topUserPlays) {
topUserPlays = count;
topUserId = uid;
}
}
const topTracks = Object.values(data.songs || {})
.sort((a, b) => b.count - a.count)
.slice(0, 5);
return {
totalHours,
totalTracks: data.totalPlays,
peakHour: formatHour(peakHourIndex),
topUserId,
topUserPlays,
topTracks,
};
}
/**
* Schedule a debounced file save for a guild.
* @param {string} guildId
* @private
*/
_scheduleSave(guildId) {
if (this._saveTimers.has(guildId)) return;
const timer = setTimeout(() => {
this._saveTimers.delete(guildId);
this.save(guildId);
}, 5000);
timer.unref?.();
this._saveTimers.set(guildId, timer);
}
/**
* Flush guild data to disk.
* @param {string} guildId
*/
save(guildId) {
const data = this._cache.get(guildId);
if (!data) return;
try {
if (!fs.existsSync(STATS_DIR)) {
fs.mkdirSync(STATS_DIR, { recursive: true });
}
const filePath = path.join(STATS_DIR, `${guildId}.json`);
fs.writeFileSync(filePath, JSON.stringify(data, null, 2), "utf8");
} catch (e) {
logger.warn(`[GuildStats] Failed to save stats for ${guildId}:`, e?.message);
}
}
}
export const GuildStats = new GuildStatsManager();
+8
View File
@@ -14,6 +14,7 @@ import { cleanId } from "../utils/Utils.mjs";
import { getMessageGuildId } from "../ui/index.mjs";
import { Dashboard } from "../dashboard/Dashboard.mjs";
import { TrackStats } from "./TrackStats.mjs";
import { GuildStats } from "./GuildStats.mjs";
/** @private @param {Player} player @param {object|null} [fallbackChannel=null] @returns {string} Cleaned guild ID. */
function getPlayerGuildId(player, fallbackChannel = null) {
@@ -103,6 +104,13 @@ const PlayerEventsMixin = {
if (humans.length === 1) userId = humans[0];
}
TrackStats.increment(userId);
if (player._guildId && song) {
GuildStats.recordPlay({
guildId: cleanId(player._guildId),
track: song,
userId,
});
}
}
if (this._lastfm?.enabled && song) {
+26 -1
View File
@@ -105,7 +105,9 @@
"previous": "تشغيل الأغنية السابقة من سجل التشغيل.",
"replay": "إعادة تشغيل الأغنية الحالية من البداية.",
"skipto": "التخطي مباشرة إلى أغنية معينة في قائمة الانتظار.",
"statustest": "اختبار تحديثات قناة الحالة العامة والبطاقات المباشرة والحوادث."
"statustest": "اختبار تحديثات قناة الحالة العامة والبطاقات المباشرة والحوادث.",
"top": "عرض أكثر الأغاني والفنانين تشغيلاً في هذا السيرفر.",
"wrapped": "إنشاء ملخص موسيقى المجتمع وإحصائيات الاستماع."
},
"options": {
"debug": {
@@ -204,6 +206,9 @@
},
"skipto": {
"position": "رقم الأغنية في قائمة الانتظار للانتقال إليها."
},
"top": {
"timeframe": "تصفية الإطار الزمني: week أو month أو all."
}
},
"pagination": {
@@ -1383,6 +1388,26 @@
"operational": "يعمل",
"outage": "اضطرابات",
"disabled": "معطل"
},
"top": {
"topAuthor": "لوحة المتصدرين في السيرفر",
"topTitle": "أكثر الأغاني تشغيلاً ({{timeframe}})",
"noData": "لم يتم تشغيل أي أغاني في هذا السيرفر بعد. ابدأ التشغيل بـ {{prefix}}play <أغنية>!",
"timeframeWeek": "هذا الأسبوع",
"timeframeMonth": "هذا الشهر",
"timeframeAll": "كل الأوقات",
"topFooter": "تصفية بـ: {{prefix}}top week • {{prefix}}top month • {{prefix}}top all",
"plays": "تشغيلات"
},
"wrapped": {
"wrappedAuthor": "ملخص موسيقى المجتمع",
"wrappedTitle": "شخصية السيرفر الموسيقية",
"totalStreamed": "إجمالي البث",
"tracksQueued": "الأغاني المضافة",
"peakHour": "ساعة الذروة للاستماع",
"topDJ": "أفضل دي جي في المجتمع",
"topSongs": "أفضل الأغاني",
"wrappedFooter": "مشغل بواسطة Remix Music • شغل الموسيقى بـ {{prefix}}play"
}
}
}
+26 -1
View File
@@ -105,7 +105,9 @@
"previous": "لێدانی گۆرانی پێشوو لە مێژووی لێدان.",
"replay": "دووبارە لێدانی گۆرانیی ئێستا لە سەرەتاوە.",
"skipto": "پەڕینەوەی ڕاستەوخۆ بۆ گۆرانییەکی دیاریکراو لە ڕیزبەندی.",
"statustest": "تاقیکردنەوەی نوێکردنەوەکانی کەناڵی دۆخی گشتی، کارتی ڕاستەوخۆ و ڕووداوەکان."
"statustest": "تاقیکردنەوەی نوێکردنەوەکانی کەناڵی دۆخی گشتی، کارتی ڕاستەوخۆ و ڕووداوەکان.",
"top": "بینینی زۆرترین گۆرانییە لێدراوەکان و هونەرمەندە سەرەکییەکان لەم سێرڤەرەدا.",
"wrapped": "دروستکردنی پوختەی مۆسیقای کۆمەڵگە و ئامارەکانی گوێگرتن."
},
"options": {
"debug": {
@@ -204,6 +206,9 @@
},
"skipto": {
"position": "ژمارەی گۆرانییەکە لە ڕیزبەندی بۆ پەڕینەوە بۆی."
},
"top": {
"timeframe": "فلتەرکردنی کات: week، month، یان all."
}
},
"pagination": {
@@ -1383,6 +1388,26 @@
"operational": "کاردەکات",
"outage": "پچڕان",
"disabled": "ناچالاکە"
},
"top": {
"topAuthor": "ڕیزبەندی سەرەکی سێرڤەر",
"topTitle": "زۆرترین گۆرانی لێدراو ({{timeframe}})",
"noData": "هێشتا هیچ گۆرانییەک لەم سێرڤەرەدا لێنەدراوە. دەستپێبکە بە {{prefix}}play <گۆرانی>!",
"timeframeWeek": "ئەم هەفتەیە",
"timeframeMonth": "ئەم مانگە",
"timeframeAll": "هەموو کاتێک",
"topFooter": "فلتەر بکە بە: {{prefix}}top week • {{prefix}}top month • {{prefix}}top all",
"plays": "لێدان"
},
"wrapped": {
"wrappedAuthor": "پوختەی مۆسیقای کۆمەڵگە",
"wrappedTitle": "کەسایەتی مۆسیقی سێرڤەر",
"totalStreamed": "کۆی لێدراو",
"tracksQueued": "گۆرانییە ڕیزکراوەکان",
"peakHour": "کاتژمێری لوتکەی گوێگرتن",
"topDJ": "باشترین دیجیی کۆمەڵگە",
"topSongs": "باشترین گۆرانییەکان",
"wrappedFooter": "بەهێزکراوە لەلایەن Remix Music • مۆسیقا لێبدە بە {{prefix}}play"
}
}
}
+26 -1
View File
@@ -105,7 +105,9 @@
"previous": "Den vorherigen Titel aus dem Wiedergabeverlauf abspielen.",
"replay": "Den aktuellen Titel von vorne starten.",
"skipto": "Direkt zu einem bestimmten Titel in der Warteschlange springen.",
"statustest": "Öffentliche Statuskanal-Aktualisierungen, Live-Karten und Vorfälle testen."
"statustest": "Öffentliche Statuskanal-Aktualisierungen, Live-Karten und Vorfälle testen.",
"top": "Zeige die meistgespielten Songs und Top-Künstler dieses Servers an.",
"wrapped": "Erstelle einen Community-Musikrückblick und Hörstatistiken."
},
"options": {
"debug": {
@@ -204,6 +206,9 @@
},
"skipto": {
"position": "Die Nummer des Titels in der Warteschlange, zu dem gesprungen werden soll."
},
"top": {
"timeframe": "Zeitraum filtern: week, month oder all."
}
},
"pagination": {
@@ -1383,6 +1388,26 @@
"operational": "Betriebsbereit",
"outage": "Störungen",
"disabled": "Deaktiviert"
},
"top": {
"topAuthor": "Server-Bestenliste",
"topTitle": "Meistgespielte Songs ({{timeframe}})",
"noData": "Auf diesem Server wurden noch keine Songs gespielt. Starte mit {{prefix}}play <Song>!",
"timeframeWeek": "Diese Woche",
"timeframeMonth": "Dieser Monat",
"timeframeAll": "Gesamte Zeit",
"topFooter": "Filtern mit: {{prefix}}top week • {{prefix}}top month • {{prefix}}top all",
"plays": "Wiedergaben"
},
"wrapped": {
"wrappedAuthor": "Community Music Wrapped",
"wrappedTitle": "Musik-Persönlichkeit des Servers",
"totalStreamed": "Gesamt gestreamt",
"tracksQueued": "Songs in der Warteschlange",
"peakHour": "Spitzen-Hörzeit",
"topDJ": "Bester Community-DJ",
"topSongs": "Top-Songs",
"wrappedFooter": "Bereitgestellt von Remix Music • Spiele Musik mit {{prefix}}play"
}
}
}
+26 -1
View File
@@ -105,7 +105,9 @@
"previous": "Play the previous track from playback history.",
"replay": "Restart the current song from the beginning.",
"skipto": "Skip directly to a specific track in the queue.",
"statustest": "Test public status channel updates, live cards, and incidents."
"statustest": "Test public status channel updates, live cards, and incidents.",
"top": "View the most played songs and top artists in this server.",
"wrapped": "Generate a community music recap and listening statistics."
},
"options": {
"debug": {
@@ -204,6 +206,9 @@
},
"skipto": {
"position": "The track number in the queue to jump to."
},
"top": {
"timeframe": "Filter timeframe: week, month, or all."
}
},
"pagination": {
@@ -1383,6 +1388,26 @@
"operational": "Operational",
"outage": "Disruptions",
"disabled": "Disabled"
},
"top": {
"topAuthor": "Server Leaderboard",
"topTitle": "Top Played Tracks ({{timeframe}})",
"noData": "No tracks have been played in this server yet. Start playing with {{prefix}}play <song>!",
"timeframeWeek": "This Week",
"timeframeMonth": "This Month",
"timeframeAll": "All Time",
"topFooter": "Filter with: {{prefix}}top week • {{prefix}}top month • {{prefix}}top all",
"plays": "plays"
},
"wrapped": {
"wrappedAuthor": "Community Music Wrapped",
"wrappedTitle": "Server Music Personality",
"totalStreamed": "Total Streamed",
"tracksQueued": "Tracks Queued",
"peakHour": "Peak Listening Hour",
"topDJ": "Top Community DJ",
"topSongs": "Top Songs",
"wrappedFooter": "Powered by Remix Music • Play music with {{prefix}}play"
}
}
}
+26 -1
View File
@@ -105,7 +105,9 @@
"previous": "Tocar a faixa anterior do histórico de reprodução.",
"replay": "Reiniciar a música atual do início.",
"skipto": "Pular diretamente para uma faixa específica na fila.",
"statustest": "Testar atualizações do canal de status público, cartões ao vivo e incidentes."
"statustest": "Testar atualizações do canal de status público, cartões ao vivo e incidentes.",
"top": "Veja as músicas e os artistas mais tocados neste servidor.",
"wrapped": "Gere uma retrospectiva musical e estatísticas da comunidade."
},
"options": {
"debug": {
@@ -204,6 +206,9 @@
},
"skipto": {
"position": "O número da faixa na fila para onde pular."
},
"top": {
"timeframe": "Filtrar período: week, month ou all."
}
},
"pagination": {
@@ -1383,6 +1388,26 @@
"operational": "Operacional",
"outage": "Instabilidade",
"disabled": "Desativado"
},
"top": {
"topAuthor": "Classificação do Servidor",
"topTitle": "Músicas Mais Tocadas ({{timeframe}})",
"noData": "Nenhuma música foi tocada neste servidor ainda. Comece com {{prefix}}play <música>!",
"timeframeWeek": "Esta Semana",
"timeframeMonth": "Este Mês",
"timeframeAll": "Todo o Período",
"topFooter": "Filtrar com: {{prefix}}top week • {{prefix}}top month • {{prefix}}top all",
"plays": "reproduções"
},
"wrapped": {
"wrappedAuthor": "Retrospectiva Musical da Comunidade",
"wrappedTitle": "Personalidade Musical do Servidor",
"totalStreamed": "Total Transmitido",
"tracksQueued": "Faixas na Fila",
"peakHour": "Horário de Pico",
"topDJ": "Principal DJ da Comunidade",
"topSongs": "Melhores Músicas",
"wrappedFooter": "Desenvolvido por Remix Music • Toque música com {{prefix}}play"
}
}
}
+26 -1
View File
@@ -105,7 +105,9 @@
"previous": "Oynatma geçmişindeki önceki şarkıyı çal.",
"replay": "Çalan şarkıyı baştan başlat.",
"skipto": "Kuyruktaki belirli bir şarkıya doğrudan atla.",
"statustest": "Herkese açık durum kanalı güncellemelerini, canlı kartları ve olayları test edin."
"statustest": "Herkese açık durum kanalı güncellemelerini, canlı kartları ve olayları test edin.",
"top": "Bu sunucuda en çok çalınan şarkıları ve en popüler sanatçıları görüntüleyin.",
"wrapped": "Bir topluluk müzik özeti ve dinleme istatistikleri oluşturun."
},
"options": {
"debug": {
@@ -204,6 +206,9 @@
},
"skipto": {
"position": "Atlanacak şarkının kuyruktaki sıra numarası."
},
"top": {
"timeframe": "Zaman aralığını filtrele: week, month veya all."
}
},
"pagination": {
@@ -1383,6 +1388,26 @@
"operational": "Çalışıyor",
"outage": "Aksama",
"disabled": "Devre Dışı"
},
"top": {
"topAuthor": "Sunucu Lider Tablosu",
"topTitle": "En Çok Çalınan Şarkılar ({{timeframe}})",
"noData": "Bu sunucuda henüz hiç şarkı çalınmadı. {{prefix}}play <şarkı> ile çalmaya başlayın!",
"timeframeWeek": "Bu Hafta",
"timeframeMonth": "Bu Ay",
"timeframeAll": "Tüm Zamanlar",
"topFooter": "Filtrele: {{prefix}}top week • {{prefix}}top month • {{prefix}}top all",
"plays": "çalma"
},
"wrapped": {
"wrappedAuthor": "Topluluk Müzik Özeti",
"wrappedTitle": "Sunucunun Müzik Kişiliği",
"totalStreamed": "Toplam Akış",
"tracksQueued": "Kuyruğa Eklenen Şarkılar",
"peakHour": "En Çok Dinlenen Saat",
"topDJ": "En İyi Topluluk DJ'i",
"topSongs": "En İyi Şarkılar",
"wrappedFooter": "Remix Music ile güçlendirilmiştir • {{prefix}}play ile müzik çalın"
}
}
}
+26 -1
View File
@@ -105,7 +105,9 @@
"previous": "播放历史记录中的上一首曲目。",
"replay": "从头重新播放当前歌曲。",
"skipto": "直接跳转到队列中的指定曲目播放。",
"statustest": "测试公开状态频道更新、实时卡片和事件报告。"
"statustest": "测试公开状态频道更新、实时卡片和事件报告。",
"top": "查看此服务器中播放次数最多的歌曲和热门艺术家。",
"wrapped": "生成社区音乐回顾和收听统计数据。"
},
"options": {
"debug": {
@@ -204,6 +206,9 @@
},
"skipto": {
"position": "要跳转到的队列曲目序号。"
},
"top": {
"timeframe": "筛选时间范围:week、month 或 all。"
}
},
"pagination": {
@@ -1383,6 +1388,26 @@
"operational": "运行正常",
"outage": "服务中断",
"disabled": "已禁用"
},
"top": {
"topAuthor": "服务器排行榜",
"topTitle": "最多播放曲目 ({{timeframe}})",
"noData": "此服务器中尚未播放任何曲目。使用 {{prefix}}play <歌曲> 开始播放!",
"timeframeWeek": "本周",
"timeframeMonth": "本月",
"timeframeAll": "全部时间",
"topFooter": "筛选方式:{{prefix}}top week • {{prefix}}top month • {{prefix}}top all",
"plays": "次播放"
},
"wrapped": {
"wrappedAuthor": "社区年度音乐回顾",
"wrappedTitle": "服务器音乐个性",
"totalStreamed": "累计播放时长",
"tracksQueued": "点播曲目总数",
"peakHour": "最高峰收听时段",
"topDJ": "最活跃点歌达人",
"topSongs": "最热曲目",
"wrappedFooter": "由 Remix Music 驱动 • 使用 {{prefix}}play 畅享音乐"
}
}
}
+26 -1
View File
@@ -105,7 +105,9 @@
"previous": "播放播放歷史記錄中的上一首曲目。",
"replay": "從頭重新播放當前歌曲。",
"skipto": "直接跳轉至佇列中的指定曲目播放。",
"statustest": "測試公開狀態頻道更新、即時卡片與事件報告。"
"statustest": "測試公開狀態頻道更新、即時卡片與事件報告。",
"top": "檢視此伺服器中播放次數最多的歌曲和熱門演出者。",
"wrapped": "產生社群音樂回顧和收聽統計資料。"
},
"options": {
"debug": {
@@ -204,6 +206,9 @@
},
"skipto": {
"position": "要跳轉到的佇列曲目序號。"
},
"top": {
"timeframe": "篩選時間範圍:week、month 或 all。"
}
},
"pagination": {
@@ -1383,6 +1388,26 @@
"operational": "正常運作",
"outage": "服務中斷",
"disabled": "已停用"
},
"top": {
"topAuthor": "伺服器排行榜",
"topTitle": "最多播放曲目 ({{timeframe}})",
"noData": "此伺服器中尚未播放任何曲目。使用 {{prefix}}play <歌曲> 開始播放!",
"timeframeWeek": "本週",
"timeframeMonth": "本月",
"timeframeAll": "全部時間",
"topFooter": "篩選方式:{{prefix}}top week • {{prefix}}top month • {{prefix}}top all",
"plays": "次播放"
},
"wrapped": {
"wrappedAuthor": "社區年度音樂回顧",
"wrappedTitle": "伺服器音樂個性",
"totalStreamed": "累計播放時長",
"tracksQueued": "點播曲目總數",
"peakHour": "最高峰收聽時段",
"topDJ": "最活躍點歌達人",
"topSongs": "最熱曲目",
"wrappedFooter": "由 Remix Music 驅動 • 使用 {{prefix}}play 暢享音樂"
}
}
}