feat(music): add multi-page pagination to top leaderboard command

- Integrate QueuePaginator into commands/top.mjs for interactive browsing (⬅️ / ➡️)
- Support direct page jumping via slash option and text arguments (%top [timeframe] [page])
- Paginate tracks into 10 items per page up to 50 tracks with dynamic rank badges
- Increase track query limits in GuildStats.mjs across MySQL and in-memory caches
This commit is contained in:
NoLogicAlan committed 2026-11-21 00:29:02 +03:00
1 parent 452c080224
commit ade75a4a79
10 files changed
+113 -49

No files matched your search

+4 -2
View File
@@ -208,7 +208,8 @@
"position": "ژمارەی گۆرانییەکە لە ڕیزبەندی بۆ پەڕینەوە بۆی."
},
"top": {
"timeframe": "فلتەرکردنی کات: week، month، all، یان global."
"timeframe": "فلتەرکردنی کات: week، month، all، یان global.",
"page": "ژمارەی پەڕە بۆ بازدان."
},
"wrapped": {
"scope": "مەودای پوختە: server یان global."
@@ -1403,7 +1404,8 @@
"plays": "لێدان",
"globalAuthor": "ڕیزبەندی جیهانی • هەموو سێرڤەرەکان",
"globalTitle": "زۆرترین گۆرانی لێدراو لە هەموو سێرڤەرەکاندا",
"globalFooter": "فلتەر بکە بە: {{prefix}}top week • {{prefix}}top month • {{prefix}}top all • {{prefix}}top global"
"globalFooter": "فلتەر بکە بە: {{prefix}}top week • {{prefix}}top month • {{prefix}}top all • {{prefix}}top global",
"pageFooter": "پەڕەی {{page}}/{{totalPages}} • {{timeframe}}"
},
"wrapped": {
"wrappedAuthor": "پوختەی مۆسیقای کۆمەڵگە",