diff --git a/src/commands/score.ts b/src/commands/score.ts index 4239436..32e7cd3 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -49,7 +49,7 @@ export default class Score extends Command { return this.success(message.channel, 'Your report is now unlocked.'); } } - if (!args[0] || !this.checkCustomPermissions(this.client.util.resolveMember(message.author.id, this.mainGuild), 6)) { + if (!args[0] || !this.checkCustomPermissions(this.client.util.resolveMember(message.author.id, this.mainGuild), 4)) { user = message.author; if (!user) return this.error(message.channel, 'Member not found.'); await this.client.db.Score.updateOne({ userID: user.id }, { $addToSet: { softInquiries: { name: `${user.username} via Discord`, date: new Date() } } }); @@ -182,7 +182,7 @@ export default class Score extends Command { embed.setFooter(this.client.user.username, this.client.user.avatarURL); } // 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 ((args[1] === 'hard' || args[1] === 'soft') && this.checkCustomPermissions(this.client.util.resolveMember(message.author.id, this.mainGuild), 4)) { if (score.pin?.length > 0) embed.addField('PIN', score.pin.join('-'), true); if (args[1] === 'soft' && !check) {