This commit is contained in:
Emily 2020-04-08 19:30:17 +10:00
parent 124ee4b0a6
commit da1ca8f986
2 changed files with 33 additions and 3 deletions

View File

@ -83,11 +83,11 @@ exports.run = (client, message, args, level, data) => {
let aliases = ''
if (cmd.conf.aliases.length > 0) {
aliases = '`' + cmd.conf.aliases.join('`, `') + '`'
aliases = cmd.conf.aliases.join(', ')
}
embed.setTitle(cmd.help.name)
embed.setDescription(cmd.help.description)
embed.setTitle(cmd.help.category.toLowerCase() + ':' + cmd.help.name)
embed.setDescription(`*(Aliases: ${aliases})*\n\n${cmd.help.description}`)
embed.addField('**Usage:**', cmd.help.usage)
if (cmd.help.params.length > 0) {
embed.addField('**Parameters:**', cmd.help.params)

View File

@ -1406,3 +1406,33 @@
2020-04-08T17:59:37 | log | message.js | Command ran: help
2020-04-08T17:59:41 | log | message.js | Command ran: help
2020-04-08T18:00:33 | log | message.js | Command ran: ship
2020-04-08T19:28:29 | info | index.js | Loading 5 commands.
2020-04-08T19:28:29 | info | index.js | Loading 7 events.
2020-04-08T19:28:29 | info | mongoose.js | Connected to the database.
2020-04-08T19:28:31 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-08T19:28:36 | info | index.js | Loading 5 commands.
2020-04-08T19:28:36 | info | index.js | Loading 7 events.
2020-04-08T19:28:36 | info | mongoose.js | Connected to the database.
2020-04-08T19:28:37 | info | index.js | Loading 5 commands.
2020-04-08T19:28:37 | info | index.js | Loading 7 events.
2020-04-08T19:28:37 | info | mongoose.js | Connected to the database.
2020-04-08T19:28:40 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-08T19:28:40 | log | message.js | Command ran: help
2020-04-08T19:29:04 | info | index.js | Loading 5 commands.
2020-04-08T19:29:04 | info | index.js | Loading 7 events.
2020-04-08T19:29:04 | info | mongoose.js | Connected to the database.
2020-04-08T19:29:06 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-08T19:29:14 | log | message.js | Command ran: help
2020-04-08T19:29:24 | info | index.js | Loading 5 commands.
2020-04-08T19:29:24 | info | index.js | Loading 7 events.
2020-04-08T19:29:24 | info | mongoose.js | Connected to the database.
2020-04-08T19:29:26 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-08T19:29:28 | log | message.js | Command ran: help
2020-04-08T19:29:41 | info | index.js | Loading 5 commands.
2020-04-08T19:29:41 | info | index.js | Loading 7 events.
2020-04-08T19:29:41 | info | mongoose.js | Connected to the database.
2020-04-08T19:29:43 | ready | ready.js | Connected to Discord as WoomyDev#4547
2020-04-08T19:30:12 | info | index.js | Loading 5 commands.
2020-04-08T19:30:12 | info | index.js | Loading 7 events.
2020-04-08T19:30:12 | info | mongoose.js | Connected to the database.
2020-04-08T19:30:15 | ready | ready.js | Connected to Discord as WoomyDev#4547