From a2d267465c1565c96e1a8cb72c70145253530da7 Mon Sep 17 00:00:00 2001 From: Bsian Date: Sat, 2 Nov 2019 00:06:14 +0000 Subject: [PATCH] Diagnosis --- src/commands/cwg_data.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/cwg_data.ts b/src/commands/cwg_data.ts index c84f745..6c6156f 100644 --- a/src/commands/cwg_data.ts +++ b/src/commands/cwg_data.ts @@ -34,8 +34,10 @@ export default class CWG_Data extends Command { embed.addField('Certificate Expiration Date', moment(x509.parseCert(await fs.readFile(domain.x509.cert, { encoding: 'utf8' })).notAfter).format('dddd, MMMM Do YYYY, h:mm:ss A'), true); embed.setFooter(this.client.user.username, this.client.user.avatarURL); embed.setTimestamp(); + this.client.signale.log(embed); return embeds.push(embed); }); + this.client.signale.log(embeds); // @ts-ignore if (embeds.length === 1) return message.channel.createMessage({ embed: embeds[0] }); return createPaginationEmbed(message, this.client, embeds, {});