forked from engineering/cloudservices
fix attempt
parent
e653484be4
commit
a2e9a87e69
|
@ -84,13 +84,12 @@ export default class Whois extends Command {
|
||||||
|
|
||||||
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('Account ID', account._id, 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);
|
||||||
embed.addField('Support Key', account.supportKey, true);
|
embed.addField('Support Key', account.supportKey, true);
|
||||||
embed.addField('Referral Code & Total', `${account.referralCode} | ${account.totalReferrals}`, true);
|
embed.addField('Referral Code & Total', `${account.referralCode} | ${account.totalReferrals}`, true);
|
||||||
embed.addField('Created By', await this.client.util.getTechnicianName(await this.client.users.fetch(account.createdBy)), true);
|
embed.addField('Created By', (await this.client.util.getTechnicianName(await this.client.users.fetch(account.createdBy))), true);
|
||||||
embed.addField('Created At', moment(account.createdAt).format('dddd, MMMM Do YYYY, h:mm:ss A'), true);
|
embed.addField('Created At', moment(account.createdAt).format('dddd, MMMM Do YYYY, h:mm:ss A'), true);
|
||||||
embed.addField('CPU Usage', `${cpuUsage.split('\n')[0] || '0'}%`, true);
|
embed.addField('CPU Usage', `${cpuUsage.split('\n')[0] || '0'}%`, true);
|
||||||
embed.addField('Memory', dataConversion(Number(memory) * 1000), true);
|
embed.addField('Memory', dataConversion(Number(memory) * 1000), true);
|
||||||
|
@ -105,10 +104,9 @@ export default class Whois extends Command {
|
||||||
]);
|
]);
|
||||||
|
|
||||||
embed.addField('Username', `${account.username} | <@${account.userID}>`, true);
|
embed.addField('Username', `${account.username} | <@${account.userID}>`, true);
|
||||||
embed.addField('Account ID', account._id, 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);
|
||||||
embed.addField('Created At', moment(account.createdAt).format('dddd, MMMM Do YYYY, h:mm:ss A'), true);
|
embed.addField('Created At', moment(account.createdAt).format('dddd, MMMM Do YYYY, h:mm:ss A'), true);
|
||||||
embed.addField('CPU Usage', `${cpuUsage.split('\n')[0] || '0'}%`, true);
|
embed.addField('CPU Usage', `${cpuUsage.split('\n')[0] || '0'}%`, true);
|
||||||
embed.addField('Memory', dataConversion(Number(memory) * 1000), true);
|
embed.addField('Memory', dataConversion(Number(memory) * 1000), true);
|
||||||
|
|
Loading…
Reference in New Issue