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, {});