cache del util

master
Kit Kasune 3 years ago
parent 9ff50546eb
commit c55cd01f06
  1. 2
      commands/dev/eval.js

@ -16,6 +16,8 @@ module.exports = {
},
execute(message, msg, args, cmd, prefix, mention, client) {
try {
const dc = (...files) => {return files.forEach(file => {return delete require.cache[require.resolve(`../../${file}`)];});};
let timer = new Date().getTime();
if (!client.developers.includes(message.author.id)) {return message.channel.send("Sorry, but I've got trust issues, so only me devs can go commanding me around like that.");};

Loading…
Cancel
Save