1
0
Fork 0

Diagnosis

refactor/models
Bsian 2019-11-02 00:06:14 +00:00
parent 7c6d9e23cf
commit a2d267465c
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 2 additions and 0 deletions

View File

@ -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.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.setFooter(this.client.user.username, this.client.user.avatarURL);
embed.setTimestamp(); embed.setTimestamp();
this.client.signale.log(embed);
return embeds.push(embed); return embeds.push(embed);
}); });
this.client.signale.log(embeds);
// @ts-ignore // @ts-ignore
if (embeds.length === 1) return message.channel.createMessage({ embed: embeds[0] }); if (embeds.length === 1) return message.channel.createMessage({ embed: embeds[0] });
return createPaginationEmbed(message, this.client, embeds, {}); return createPaginationEmbed(message, this.client, embeds, {});