fixed help

merge-requests/3/head
loicbersier 6 years ago
parent 39c2546dfe
commit 565ff039f2

@ -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…
Cancel
Save