This commit is contained in:
Daniel Odendahl Jr
2017-08-26 01:24:24 +00:00
parent 56e72f7509
commit 457a75b325
3 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -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
<https://www.patreon.com/dragonfire535>
<https://paypal.me/dragonfire535>
<https://ko-fi.com/dragonfire>
`);
}
};
+1 -2
View File
@@ -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')
+1 -1
View File
@@ -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.';
}
}
]