fix prefix

This commit is contained in:
Lio Young 2021-07-02 14:18:36 +02:00
parent b49629a075
commit 030bbdd8fc
No known key found for this signature in database
GPG Key ID: 789795A11879E169
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export = class Help extends Command {
await (await Folders()).forEach(async folder => {
if (!ctx.isDeveloper && folder === 'developer') return
// @ts-ignore
return embed.addField(`${lingua[ctx.settings.locale].CATEGORIES[folder.toUpperCase()].name || folder} [\`${[...(await Commands(folder, ctx.client))].length}\`]`, `\`${ctx.config.variables.prefix[2]} help ${folder}\``, true)
return embed.addField(`${lingua[ctx.settings.locale].CATEGORIES[folder.toUpperCase()].name || folder} [\`${[...(await Commands(folder, ctx.client))].length}\`]`, `\`${ctx.config.variables.prefix[0]} help ${folder}\``, true)
})
embed.setTitle(`${ctx.config.variables.name} Help`)
return ctx.channel.send(embed)