quality of life for me

This commit is contained in:
Erik 2020-08-14 17:13:04 +03:00
parent 9dfe472674
commit 538d197f94

View File

@ -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