Fixed bug with NODE_ENV on tags

This commit is contained in:
TheEssem 2019-12-19 10:36:33 -06:00
parent 6c80d5f67c
commit 3e9d4164aa
1 changed files with 1 additions and 1 deletions

View File

@ -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