diff --git a/src/commands/cwg_data.ts b/src/commands/cwg_data.ts index 36f3801..bee8f2f 100644 --- a/src/commands/cwg_data.ts +++ b/src/commands/cwg_data.ts @@ -22,7 +22,6 @@ export default class CWG_Data extends Command { if (!args[0]) return this.client.commands.get('help').run(message, ['cwg', this.name]); const dom = await this.client.db.Domain.find({ $or: [{ domain: args[0] }, { port: Number(args[0]) || '' }] }); if (!dom.length) return message.channel.createMessage(`***${this.client.stores.emojis.error} The domain or port you provided could not be found.***`); - // const embeds: RichEmbed[] = []; const embeds = dom.map((domain) => { const cert = fs.readFileSync(domain.x509.cert, { encoding: 'utf8' }); const embed = new RichEmbed();