forked from Supositware/Haha-Yes
fixed help
This commit is contained in:
parent
39c2546dfe
commit
565ff039f2
1 changed files with 2 additions and 3 deletions
|
@ -7,7 +7,6 @@ class HelpCommand extends Command {
|
||||||
aliases: ['help', 'halp', 'h'],
|
aliases: ['help', 'halp', 'h'],
|
||||||
category: 'utility',
|
category: 'utility',
|
||||||
clientPermissions: ['EMBED_LINKS'],
|
clientPermissions: ['EMBED_LINKS'],
|
||||||
quoted: false,
|
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
id: 'command',
|
id: 'command',
|
||||||
|
@ -16,7 +15,8 @@ class HelpCommand extends Command {
|
||||||
start: 'Which command do you need help with?',
|
start: 'Which command do you need help with?',
|
||||||
retry: 'Please provide a valid command.',
|
retry: 'Please provide a valid command.',
|
||||||
optional: true
|
optional: true
|
||||||
}
|
},
|
||||||
|
match: 'rest'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
description: {
|
description: {
|
||||||
|
@ -30,7 +30,6 @@ class HelpCommand extends Command {
|
||||||
exec(message, { command }) {
|
exec(message, { command }) {
|
||||||
if (!command) return this.execCommandList(message);
|
if (!command) return this.execCommandList(message);
|
||||||
|
|
||||||
const prefix = this.handler.prefix(message);
|
|
||||||
const description = Object.assign({
|
const description = Object.assign({
|
||||||
content: 'No description available.',
|
content: 'No description available.',
|
||||||
usage: '',
|
usage: '',
|
||||||
|
|
Loading…
Reference in a new issue