Add moreHelp description to help command
This commit is contained in:
parent
977d03e2e2
commit
7891e079c1
1 changed files with 4 additions and 0 deletions
|
@ -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'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue