quality of life for me
This commit is contained in:
parent
9dfe472674
commit
538d197f94
@ -1,5 +1,7 @@
|
|||||||
const { inspect } = require('util');
|
const { inspect } = require('util');
|
||||||
const { username } = require('os').userInfo();
|
const { username } = require('os').userInfo();
|
||||||
|
// eslint-disable-next-line no-unused-vars
|
||||||
|
const moment = require('moment');
|
||||||
|
|
||||||
let _storage = null; //eslint-disable-line
|
let _storage = null; //eslint-disable-line
|
||||||
|
|
||||||
@ -42,8 +44,7 @@ class Evaluate extends Command {
|
|||||||
async execute(message, { params, args }) {
|
async execute(message, { params, args }) {
|
||||||
|
|
||||||
params = params.join(' ');
|
params = params.join(' ');
|
||||||
const { guild, author, member } = message; //eslint-disable-line no-unused-vars
|
const { guild, author, member, client } = message; //eslint-disable-line no-unused-vars
|
||||||
const moment = require('moment');
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let evaled = eval(params); //eslint-disable-line no-eval
|
let evaled = eval(params); //eslint-disable-line no-eval
|
||||||
|
Loading…
Reference in New Issue
Block a user