mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
More
This commit is contained in:
@@ -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>
|
||||
`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user