forked from engineering/cloudservices
prettify whois
parent
7337f77027
commit
2a9492ccbb
|
@ -83,7 +83,7 @@ export default class Whois extends Command {
|
||||||
const finger = !member.roles.cache.has('662163685439045632') ? fingerInformation.replace(this.IP_REGEX, '[MASKED IP ADDRESS]') : fingerInformation;
|
const finger = !member.roles.cache.has('662163685439045632') ? fingerInformation.replace(this.IP_REGEX, '[MASKED IP ADDRESS]') : fingerInformation;
|
||||||
|
|
||||||
embed.setDescription(`${finger}\n${chage}`);
|
embed.setDescription(`${finger}\n${chage}`);
|
||||||
embed.addField('Username', `${account.username} | <@${account.userID}>`, true);
|
embed.addField('Username', `${account.username} <<@${account.userID}>>`, true);
|
||||||
embed.addField('Discord ID', account.userID, true);
|
embed.addField('Discord ID', account.userID, true);
|
||||||
embed.addField('Email Address', account.emailAddress, true);
|
embed.addField('Email Address', account.emailAddress, true);
|
||||||
embed.addField('Tier', String(account.tier), true);
|
embed.addField('Tier', String(account.tier), true);
|
||||||
|
@ -103,7 +103,7 @@ export default class Whois extends Command {
|
||||||
this.client.util.exec(`memory ${account.username}`),
|
this.client.util.exec(`memory ${account.username}`),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
embed.addField('Username', `${account.username} | <@${account.userID}>`, true);
|
embed.addField('Username', `${account.username} <<@${account.userID}>>`, true);
|
||||||
embed.addField('Discord ID', account.userID, true);
|
embed.addField('Discord ID', account.userID, true);
|
||||||
embed.addField('Tier', String(account.tier), true);
|
embed.addField('Tier', String(account.tier), true);
|
||||||
embed.addField('Created By', (await this.client.util.getTechnicianName(await this.client.users.fetch(account.createdBy), 2)), true);
|
embed.addField('Created By', (await this.client.util.getTechnicianName(await this.client.users.fetch(account.createdBy), 2)), true);
|
||||||
|
|
Loading…
Reference in New Issue