From 538d197f94813a9d14d18ae79c9363db46e99597 Mon Sep 17 00:00:00 2001 From: Navy Date: Fri, 14 Aug 2020 17:13:04 +0300 Subject: [PATCH] quality of life for me --- structure/client/components/commands/developer/Evaluate.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/structure/client/components/commands/developer/Evaluate.js b/structure/client/components/commands/developer/Evaluate.js index 8a55557..8f0281c 100644 --- a/structure/client/components/commands/developer/Evaluate.js +++ b/structure/client/components/commands/developer/Evaluate.js @@ -1,5 +1,7 @@ const { inspect } = require('util'); const { username } = require('os').userInfo(); +// eslint-disable-next-line no-unused-vars +const moment = require('moment'); let _storage = null; //eslint-disable-line @@ -42,8 +44,7 @@ class Evaluate extends Command { async execute(message, { params, args }) { params = params.join(' '); - const { guild, author, member } = message; //eslint-disable-line no-unused-vars - const moment = require('moment'); + const { guild, author, member, client } = message; //eslint-disable-line no-unused-vars try { let evaled = eval(params); //eslint-disable-line no-eval