forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
81c307a11b
commit
9453c6ae10
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user