Add Page Marker to Cmdlb

This commit is contained in:
Dragon Fire
2020-05-31 22:02:43 -04:00
parent 695e6aa15a
commit dc7923f0e9
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -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
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "115.1.1",
"version": "115.1.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {