From 1a59bdcc77e2713ad15f375e9ffd01c987c0f050 Mon Sep 17 00:00:00 2001 From: Bsian Date: Sat, 2 Nov 2019 00:55:46 +0000 Subject: [PATCH] last try --- src/commands/cwg_data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cwg_data.ts b/src/commands/cwg_data.ts index b519cc2..36f3801 100644 --- a/src/commands/cwg_data.ts +++ b/src/commands/cwg_data.ts @@ -23,7 +23,7 @@ export default class CWG_Data extends Command { 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(async (domain) => { + const embeds = dom.map((domain) => { const cert = fs.readFileSync(domain.x509.cert, { encoding: 'utf8' }); const embed = new RichEmbed(); embed.setTitle('Domain Information');