From 54fdab490436865827d0061d7552cd67a9f89e7e Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Mon, 12 Jun 2023 22:34:57 +0200 Subject: [PATCH] another minor eval fix --- commands/message/utils/eval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/message/utils/eval.js b/commands/message/utils/eval.js index 5407375..a04ad25 100644 --- a/commands/message/utils/eval.js +++ b/commands/message/utils/eval.js @@ -74,7 +74,7 @@ module.exports = { } else { embed.description = codeblock("js", ['​' + data.Result.split('\n').splice(0,10).join('\n').substr(0,1000)]) embed.color = COLORS.success - if(data.Result == '​') codeblock('js', ["No Output"]) + if(data.Result.length == 0) embed.description = codeblock('js', ["No Output"]) } return editOrReply(context, createEmbed("default", context, embed))