diff --git a/src/commands/score.ts b/src/commands/score.ts index 5ceacdd..6a54cad 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -154,8 +154,11 @@ export default class Score extends Command { } else { embed.setFooter(this.client.user.username, this.client.user.avatarURL); } - if (args[1] === 'hard' && this.checkCustomPermissions(this.client.util.resolveMember(message.author.id, this.mainGuild), 6)) { + // eslint-disable-next-line no-mixed-operators + if ((args[1] === 'hard' || args[1] === 'soft') && this.checkCustomPermissions(this.client.util.resolveMember(message.author.id, this.mainGuild), 6)) { if (score.pin?.length > 0) embed.addField('PIN', score.pin.join('-'), true); + } + if (args[1] === 'hard' && this.checkCustomPermissions(this.client.util.resolveMember(message.author.id, this.mainGuild), 6)) { await message.channel.createMessage({ embed }); await message.channel.createMessage('***===BEGIN ADDITIONAL INFORMATION===***'); await this.client.commands.get('whois').run(message, [user.id]);