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;