Add moreHelp description to help command

This commit is contained in:
SileNce5k 2021-06-25 16:56:59 +02:00
parent 977d03e2e2
commit 7891e079c1
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -5,6 +5,10 @@ const Discord = require('discord.js');
module.exports = { module.exports = {
name: 'help', name: 'help',
description: 'List all available commands.', description: 'List all available commands.',
moreHelp: ["Examples:","<prefix>help will return help with a small description for each command",
"<prefix>help <another_command> will return help with a more descriptive description",
"The descriptive description isn't available on all commands"
],
execute({ message, args, prefix }) { execute({ message, args, prefix }) {
var commands = " " var commands = " "
let commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); let commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));