1
0
Fork 0

fix issues with whois guild resolve

refactor/models
Matthew 2020-04-21 14:59:53 -04:00
parent f43ef83dda
commit 7ec7c864cb
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
2 changed files with 2 additions and 2 deletions

View File

@ -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';

View File

@ -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';