From 4211689f73eaf8c574a455f3f0ba3c7ab6441911 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 3 Feb 2022 19:36:05 -0500 Subject: [PATCH] edit embed fields for cwg --- src/commands/cwg_create.ts | 3 +-- src/commands/cwg_delete.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index 84e05b2..99953fe 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -84,8 +84,7 @@ export default class CWG_Create extends Command { .setTitle('Domain Creation') .setColor(3066993) .addField('Account Username', `${account.username} | <@${account.userID}>`, true) - .addField('Account ID', account.id, true) - .addField('Technician', message.author.toString(), true) + .addField('Technician', await this.client.util.getTechnicianFullName(message.author), true) .addField('Domain', domain.domain, true) .addField('Port', String(domain.port), true); diff --git a/src/commands/cwg_delete.ts b/src/commands/cwg_delete.ts index fe42c4d..24c721e 100644 --- a/src/commands/cwg_delete.ts +++ b/src/commands/cwg_delete.ts @@ -23,7 +23,7 @@ export default class CWG_Delete extends Command { const embed = new MessageEmbed(); embed.setTitle('Domain Deletion'); 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('Port', String(domain.port), true); embed.setFooter(this.client.user.username, this.client.user.avatarURL());