diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index dcd69a18..39067fa2 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ -**Please describe the changes this PR makes and why it should be merged**: +**Please describe the changes this PR makes and why it should be merged:** **Semantic versioning classification:** diff --git a/commands/util/command-leaderboard.js b/commands/util/command-leaderboard.js index 14a6c092..5ab0dba5 100644 --- a/commands/util/command-leaderboard.js +++ b/commands/util/command-leaderboard.js @@ -23,11 +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).`); + const totalPages = Math.ceil(this.client.registry.commands.size / 10); + if (page > totalPages) return msg.say(`Page ${page} does not exist (yet).`); return msg.say(stripIndents` - __**Command Usage Leaderboard (Page ${page}):**__ - ${lb.join('\n')} + __**Command Usage Leaderboard (Page ${page}/${totalPages}):**__ + ${this.makeLeaderboard(page).join('\n')} `); } diff --git a/package.json b/package.json index 5bf25dcf..1447a5d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "115.1.3", + "version": "115.1.4", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { diff --git a/structures/phone/PhoneCall.js b/structures/phone/PhoneCall.js index 1aa2fa2e..6ff681dd 100644 --- a/structures/phone/PhoneCall.js +++ b/structures/phone/PhoneCall.js @@ -110,7 +110,7 @@ module.exports = class PhoneCall { sendVoicemail(channel, msg) { return channel.send(stripIndents` - ☎️ New Voicemail from **${msg.guild.name}**: + ☎️ New Voicemail from **${msg.guild.name}:** **${msg.author.tag}:** ${msg.content} `); }