From c88d4cd9adf7c83ef1bc880e2003ec0597fe6135 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 28 Mar 2020 12:15:00 -0400 Subject: [PATCH] various fixes to whois commands --- src/commands/whois.ts | 2 +- src/commands/whois_user.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/whois.ts b/src/commands/whois.ts index 7ea26a3..38109bf 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -50,7 +50,7 @@ export default class Whois extends Command { if (account.locked) details += 'This account is currently locked.\n'; if (account.permissions.facultyMarshal) details += 'This account belongs to a Faculty Marshal.\n'; else if (account.permissions.sheriff) details += 'This account belongs to a Sheriff.\n'; - else if (account.permissions.associate) details += 'This account belongs to a Staff member.\n'; + else if (account.permissions.staff) details += 'This account belongs to a Staff member.\n'; if (account.root) details += 'This account has root/administrative privileges.\n'; if (details) embed.addField('Additional Details', details, true); embed.setFooter(this.client.user.username, this.client.user.avatarURL); diff --git a/src/commands/whois_user.ts b/src/commands/whois_user.ts index 2ed0ff9..e4076f8 100644 --- a/src/commands/whois_user.ts +++ b/src/commands/whois_user.ts @@ -39,7 +39,7 @@ export default class Whois_User extends Command { if (account.locked) details += 'This account is currently locked.\n'; if (account.permissions.facultyMarshal) details += 'This account belongs to a Faculty Marshal.\n'; else if (account.permissions.sheriff) details += 'This account belongs to a Sheriff.\n'; - else if (account.permissions.associate) details += 'This account belongs to a Staff member.\n'; + else if (account.permissions.staff) details += 'This account belongs to a Staff member.\n'; if (account.root) details += 'This account has root/administrative privileges.\n'; if (details) embed.addField('Additional Details', details, true); embed.setFooter(this.client.user.username, this.client.user.avatarURL);