make the prefix array show better
This commit is contained in:
parent
ec5f8774a0
commit
7417c5f79d
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ class HelpCommand extends Command {
|
||||||
.setColor(0xFFAC33)
|
.setColor(0xFFAC33)
|
||||||
.setTitle(`\`${prefix[0]}${command.aliases[0]} ${description.usage}\``)
|
.setTitle(`\`${prefix[0]}${command.aliases[0]} ${description.usage}\``)
|
||||||
.addField('Description', description.content)
|
.addField('Description', description.content)
|
||||||
.setFooter(`All the available prefix: ${prefix}`);
|
.setFooter(`All the available prefix: ${prefix.join('')}`);
|
||||||
|
|
||||||
for (const field of description.fields) embed.addField(field.name, field.value);
|
for (const field of description.fields) embed.addField(field.name, field.value);
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ class HelpCommand extends Command {
|
||||||
'This is a list of commands.',
|
'This is a list of commands.',
|
||||||
`To view details for a command, do \`${prefix[0]}help <command>\`.`
|
`To view details for a command, do \`${prefix[0]}help <command>\`.`
|
||||||
])
|
])
|
||||||
.setFooter(`All the available prefix: ${prefix}`);
|
.setFooter(`All the available prefix: ${prefix.join('')}`);
|
||||||
|
|
||||||
for (const category of this.handler.categories.values()) {
|
for (const category of this.handler.categories.values()) {
|
||||||
const title = {
|
const title = {
|
||||||
|
|
Loading…
Reference in a new issue