mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 15:57:47 +02:00
This Spready thing in Help Command
This commit is contained in:
@@ -39,7 +39,7 @@ module.exports = class HelpCommand extends Command {
|
|||||||
${commands[0].details || ''}
|
${commands[0].details || ''}
|
||||||
`);
|
`);
|
||||||
} else if(commands.length > 1) {
|
} else if(commands.length > 1) {
|
||||||
return msg.say('Multiple Commands Found. Please be more specific.');
|
return msg.say(`Multiple Commands Found. Please be more specific: ${commands.map(c => `"${c.name}"`).join(', ')}`);
|
||||||
} else {
|
} else {
|
||||||
return msg.say(`Could not identify command. Use ${msg.usage(null)} to view a list of commands you can use.`);
|
return msg.say(`Could not identify command. Use ${msg.usage(null)} to view a list of commands you can use.`);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "18.0.2",
|
"version": "18.0.3",
|
||||||
"description": "A Discord Bot",
|
"description": "A Discord Bot",
|
||||||
"main": "shardingmanager.js",
|
"main": "shardingmanager.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user