edit embed fields for cwg

pull/15/head
Matthew 2022-02-03 19:36:05 -05:00
parent 86fb5a7dee
commit 4211689f73
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
2 changed files with 2 additions and 3 deletions

View File

@ -84,8 +84,7 @@ export default class CWG_Create extends Command {
.setTitle('Domain Creation') .setTitle('Domain Creation')
.setColor(3066993) .setColor(3066993)
.addField('Account Username', `${account.username} | <@${account.userID}>`, true) .addField('Account Username', `${account.username} | <@${account.userID}>`, true)
.addField('Account ID', account.id, true) .addField('Technician', await this.client.util.getTechnicianFullName(message.author), true)
.addField('Technician', message.author.toString(), true)
.addField('Domain', domain.domain, true) .addField('Domain', domain.domain, true)
.addField('Port', String(domain.port), true); .addField('Port', String(domain.port), true);

View File

@ -23,7 +23,7 @@ export default class CWG_Delete extends Command {
const embed = new MessageEmbed(); const embed = new MessageEmbed();
embed.setTitle('Domain Deletion'); embed.setTitle('Domain Deletion');
embed.addField('Account Username', `${domain.account.username} | <@${domain.account.userID}>`, true); embed.addField('Account Username', `${domain.account.username} | <@${domain.account.userID}>`, true);
embed.addField('Account ID', domain.account.userID, true); embed.addField('Technician', await this.client.util.getTechnicianFullName(message.author), true);
embed.addField('Domain', domain.domain, true); embed.addField('Domain', domain.domain, true);
embed.addField('Port', String(domain.port), true); embed.addField('Port', String(domain.port), true);
embed.setFooter(this.client.user.username, this.client.user.avatarURL()); embed.setFooter(this.client.user.username, this.client.user.avatarURL());