Skip to content

Commit

Permalink
Update help.js
Browse files Browse the repository at this point in the history
  • Loading branch information
metehus authored Jul 28, 2020
1 parent 277be31 commit 97417fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/bot/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ module.exports = class Help extends Command {
throw new CommandError(t('commands:help.commandNotFound'))
}
} else {
const botMention = `<@!${this.client.user.id}>`
embed
.setAuthor(t('commands:help.listTitle'), this.client.user.displayAvatarURL({ format: 'png' }))
.setDescription([
`**${t('commands:help.prefix')}:** \`${prefix}\` (${t('commands:help.youCanUse', { botMention: this.client.user.toString() })})`,
`**${t('commands:help.prefix')}:** \`${prefix}\` (${t('commands:help.youCanUse', { botMention })})`,
`**${t('commands:help.specificInformation', { helpString: `\`${prefix}${this.name} ${t('commands:help.commandUsage')}\`` })}**`
].join('\n'))

Expand Down

0 comments on commit 97417fa

Please sign in to comment.