Fixed bug with NODE_ENV on tags
This commit is contained in:
parent
6c80d5f67c
commit
3e9d4164aa
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ exports.run = async (message, args) => {
|
||||||
"text": `Page ${i + 1} of ${groups.length}`
|
"text": `Page ${i + 1} of ${groups.length}`
|
||||||
},
|
},
|
||||||
"description": value.join("\n"),
|
"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": {
|
"author": {
|
||||||
"name": message.author.username,
|
"name": message.author.username,
|
||||||
"icon_url": message.author.avatarURL
|
"icon_url": message.author.avatarURL
|
||||||
|
|
Loading…
Reference in a new issue