From 9453c6ae107b4e80804a97e3c356e9d3baf6b06d Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 28 Jul 2022 22:04:13 +0300 Subject: [PATCH] bugfix --- src/structure/components/commands/developer/Eval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/commands/developer/Eval.js b/src/structure/components/commands/developer/Eval.js index a1a027c..876005b 100644 --- a/src/structure/components/commands/developer/Eval.js +++ b/src/structure/components/commands/developer/Eval.js @@ -26,7 +26,7 @@ class EvalCommand extends Command { const args = {}; // Temporary args until I figure out how I want to implement them let params = code.value; - if (async.value) params = `(async () => {${params}})()`; + if (async?.value) params = `(async () => {${params}})()`; const { guild, author, member, client } = invoker; //eslint-disable-line no-unused-vars let response = null;