diff --git a/src/commands/score.ts b/src/commands/score.ts index 2b19468..0de813e 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -154,7 +154,7 @@ export default class Score extends Command { } else { embed.setFooter(this.client.user.username, this.client.user.avatarURL); } - if (args[1] === 'hard') { + 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]);