various fixes to whois commands
parent
2f015b4e49
commit
c88d4cd9ad
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue