diff options
Diffstat (limited to 'commands/Owners Only')
| -rw-r--r-- | commands/Owners Only/eval.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Owners Only/eval.js b/commands/Owners Only/eval.js index 2d8cf00..139722f 100644 --- a/commands/Owners Only/eval.js +++ b/commands/Owners Only/eval.js @@ -24,7 +24,7 @@ exports.run = async (bot, msg, args) => { const code = args.join(' '); try { - const str = `var func = async function() {\n ${code}\n}.bind(this)\nfunc`; + const str = `var func = async function() {\n ${code}\n}.bind(this)`; const toExecute = eval(str); |
