This commit is contained in:
Erik 2022-07-28 22:04:13 +03:00
parent 81c307a11b
commit 9453c6ae10
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -26,7 +26,7 @@ class EvalCommand extends Command {
const args = {}; // Temporary args until I figure out how I want to implement them const args = {}; // Temporary args until I figure out how I want to implement them
let params = code.value; 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 const { guild, author, member, client } = invoker; //eslint-disable-line no-unused-vars
let response = null; let response = null;