const { Command } = require('discord-akairo'); class HelpCommand extends Command { constructor() { super('help', { aliases: ['help'], clientPermissions: ['SEND_MESSAGES'] }); } exec(message) { const { prefix, codePrefix } = this.client.config; return message.util.send([ '**Usage:**', `Put a \`${codePrefix}\` before a code block or inline codeblock that starts with a language code to execute it.`, `You can add options, separated by semicolons, after the \`${codePrefix}\`.`, '', `For list of enabled languages, use the \`${prefix}languages\` command.`, '', 'See the readme for usage examples, supported languages, and options: ' ]); } } module.exports = HelpCommand;