diff --git a/src/commands/whois.ts b/src/commands/whois.ts index 9b364c6..4a589a6 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -23,7 +23,7 @@ export default class Whois extends Command { try { let full = false; let account: AccountInterface; - if (args[1] === '--full' && !this.fullRoles.some((r) => message.member.roles.includes(r))) full = true; + if (args[1] === '--full' && this.fullRoles.some((r) => message.member.roles.includes(r))) full = true; const user = args[0] || message.author.id; if (full) account = await this.client.db.Account.findOne({ $or: [{ username: user }, { userID: user }, { emailAddress: user }, { supportKey: user.toUpperCase() }] });