From 3e9d4164aa43271e0753c22adb2324e2af9dc6d1 Mon Sep 17 00:00:00 2001 From: TheEssem Date: Thu, 19 Dec 2019 10:36:33 -0600 Subject: [PATCH] Fixed bug with NODE_ENV on tags --- commands/tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/tags.js b/commands/tags.js index 9d33c56..82a0306 100644 --- a/commands/tags.js +++ b/commands/tags.js @@ -49,7 +49,7 @@ exports.run = async (message, args) => { "text": `Page ${i + 1} of ${groups.length}` }, "description": value.join("\n"), - "fields": [process.env.NODE_ENV === "development" ? {"name": "Note", "value": "Tags created in this version of esmBot will not carry over to the final release."} : null], + "fields": process.env.NODE_ENV === "development" ? [{"name": "Note", "value": "Tags created in this version of esmBot will not carry over to the final release."}] : null, "author": { "name": message.author.username, "icon_url": message.author.avatarURL