fixed help

This commit is contained in:
loicbersier 2019-01-19 18:26:09 +01:00
parent 39c2546dfe
commit 565ff039f2

View file

@ -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: '',