From 457a75b325fb6bd5daa73cf2babe7bebf7ed539d Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 26 Aug 2017 01:24:24 +0000 Subject: [PATCH] More --- commands/util/donate.js | 3 ++- commands/util/help.js | 3 +-- commands/util/shard-info.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/util/donate.js b/commands/util/donate.js index 97a17dee..2c340704 100644 --- a/commands/util/donate.js +++ b/commands/util/donate.js @@ -16,8 +16,9 @@ module.exports = class DonateCommand extends Command { run(msg) { return msg.say(stripIndents` Contribute to XiaoBot development! - https://www.patreon.com/dragonfire535 + + `); } }; diff --git a/commands/util/help.js b/commands/util/help.js index 33acefa0..ba079c5b 100644 --- a/commands/util/help.js +++ b/commands/util/help.js @@ -43,9 +43,8 @@ module.exports = class HelpCommand extends Command { return msg.embed(embed); } else if (commands.length > 1) { return msg.say(`Multiple commands found: ${commands.map(c => c.name).join(', ')}`); - } else { - return msg.say(`Could not identify command. Use ${msg.usage(null)} to view a list of commands.`); } + return msg.say(`Could not identify command. Use ${msg.usage(null)} to view a list of commands.`); } else { const embed = new MessageEmbed() .setTitle('Command List') diff --git a/commands/util/shard-info.js b/commands/util/shard-info.js index 0b009c7a..f452d219 100644 --- a/commands/util/shard-info.js +++ b/commands/util/shard-info.js @@ -20,7 +20,7 @@ module.exports = class ShardInfoCommand extends Command { type: 'integer', validate: shard => { if (shard < this.client.options.shardCount && shard > -1) return true; - return 'Invalid Shard ID'; + return 'Invalid Shard ID.'; } } ]