From 7881d68f4f6507abf2af57fb342a985b9ba0e55f Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 20 Mar 2022 20:34:45 -0500 Subject: [PATCH] Remove unnecessary console.log --- events/messageCreate.js | 1 - 1 file changed, 1 deletion(-) diff --git a/events/messageCreate.js b/events/messageCreate.js index aab0a35..fe0232d 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -22,7 +22,6 @@ module.exports = { answers[1] = answers[1].slice(0, answers[1].length - 1); // If there are multiple elements, it means there was an 'accept' and therefore a trailing ')' which should be removed answers = [answers[0], ...answers[1].split(new RegExp(' OR ', 'i'))]; // Use the first element plus the last element split by 'OR' case insensitive } - console.log(answers); const dataEmbed = new MessageEmbed() .setTitle('Data') .setDescription(`\`\`\`json\n${JSON.stringify(data, null, 2)}\`\`\``);