From 4092c8cd1d91659bf96fb77082fb2f8327487aee Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 5 Jun 2021 12:34:40 -0400 Subject: [PATCH] Fix --- commands/util/eval.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/util/eval.js b/commands/util/eval.js index f602209d..9df2d7b6 100644 --- a/commands/util/eval.js +++ b/commands/util/eval.js @@ -32,7 +32,7 @@ module.exports = class EvalCommand extends Command { run(msg, args) { // Make a bunch of helpers - /* eslint-disable no-unused-vars, destructuring */ + /* eslint-disable no-unused-vars, prefer-destructuring */ const message = msg; const client = msg.client; const lastResult = this.lastResult; @@ -48,7 +48,7 @@ module.exports = class EvalCommand extends Command { } } }; - /* eslint-enable no-unused-vars, destructuring */ + /* eslint-enable no-unused-vars, prefer-destructuring */ // Remove any surrounding code blocks before evaluation if (args.script.startsWith('```') && args.script.endsWith('```')) {