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

+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"
}
}
}