From 21a96ea48102fdb0086df8ea0c72b969ed26f6a5 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Mon, 29 Nov 2021 12:29:09 +0200 Subject: [PATCH] dingus --- structure/commands/Eval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/commands/Eval.js b/structure/commands/Eval.js index 9a906db..ce7418f 100644 --- a/structure/commands/Eval.js +++ b/structure/commands/Eval.js @@ -19,7 +19,7 @@ class Eval extends Command { try { let evaled = eval(clean); // eslint-disable-line no-eval - if (evaled instanceof Promise) await evaled; + if (evaled instanceof Promise) evaled = await evaled; if (typeof evaled !== 'string') evaled = inspect(evaled); evaled = evaled