mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Minor Changes in Help Command
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = class HelpCommand extends Command {
|
||||
if (commands.length === 1) {
|
||||
return msg.say(stripIndents`
|
||||
__Command **${commands[0].name}**:__ *${commands[0].description}*
|
||||
${commands[0].guildOnly ? 'Usable Only in Servers' : 'Usable in Server and DM'}
|
||||
${commands[0].guildOnly ? 'Usable Only in Servers' : 'Usable in Servers and DM'}
|
||||
**Format:** ${msg.anyUsage(`${commands[0].name}${commands[0].format ? ` ${commands[0].format}` : ''}`)}
|
||||
**Aliases:** ${commands[0].aliases.join(', ') || 'None'}
|
||||
**Group:** ${commands[0].group.name}
|
||||
@@ -41,11 +41,9 @@ module.exports = class HelpCommand extends Command {
|
||||
} else if (commands.length > 1) {
|
||||
return msg.say('Multiple Commands Found. Please be more specific.');
|
||||
} else {
|
||||
return msg.say(
|
||||
`Could not identify command. Use ${msg.usage(
|
||||
return msg.say(`Could not identify command. Use ${msg.usage(
|
||||
null, msg.channel.type === 'dm' ? null : undefined, msg.channel.type === 'dm' ? null : undefined
|
||||
)} to view a list of commands you can use.`
|
||||
);
|
||||
)} to view a list of commands you can use.`);
|
||||
}
|
||||
} else {
|
||||
const embed = new RichEmbed()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "17.2.9",
|
||||
"version": "17.2.10",
|
||||
"description": "A Discord Bot",
|
||||
"main": "shardingmanager.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user