fix issues with whois guild resolve
parent
f43ef83dda
commit
7ec7c864cb
|
@ -51,7 +51,7 @@ export default class Whois extends Command {
|
|||
embed.setColor(roleColor);
|
||||
} else if (account.permissions.technician) {
|
||||
details += 'This account belongs to a Technician.\n';
|
||||
const roleColor = this.client.guilds.get('701454780828221450').roles.get('701454780828221450').color;
|
||||
const roleColor = this.client.guilds.get('446067825673633794').roles.get('701454780828221450').color;
|
||||
embed.setColor(roleColor);
|
||||
} else if (account.permissions.staff) {
|
||||
details += 'This account belongs to a Staff member.\n';
|
||||
|
|
|
@ -41,7 +41,7 @@ export default class Whois_User extends Command {
|
|||
embed.setColor(roleColor);
|
||||
} else if (account.permissions.technician) {
|
||||
details += 'This account belongs to a Technician.\n';
|
||||
const roleColor = this.client.guilds.get('701454780828221450').roles.get('701454780828221450').color;
|
||||
const roleColor = this.client.guilds.get('446067825673633794').roles.get('701454780828221450').color;
|
||||
embed.setColor(roleColor);
|
||||
} else if (account.permissions.staff) {
|
||||
details += 'This account belongs to a Staff member.\n';
|
||||
|
|
Loading…
Reference in New Issue