mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add Page Marker to Cmdlb
This commit is contained in:
@@ -23,9 +23,11 @@ module.exports = class CommandLeaderboardCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { page }) {
|
||||
const lb = this.makeLeaderboard(page);
|
||||
if (!lb.length) return msg.say(`Page ${page} does not exist (yet).`);
|
||||
return msg.say(stripIndents`
|
||||
__**Command Usage Leaderboard (as of Last Restart):**__
|
||||
${this.makeLeaderboard(page).join('\n')}
|
||||
__**Command Usage Leaderboard (Page ${page}):**__
|
||||
${lb.join('\n')}
|
||||
`);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "115.1.1",
|
||||
"version": "115.1.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user