const discord = require('discord.js');
const CommandRegistry = require('./registry.js');
class Client extends discord.Client {
  constructor() {
    super();
    this.commandarray = [];
    this.registry = function (path) {
      CommandRegistry(this, path);
    };
    this.messagesParse = function (message) {
      let command = message.content.split(" ")[0];
      for (let i = 0; i < this.commandarray.length; i++) {
        if (command.toLowerCase() === this.commandarray[i].commandname.toLowerCase()) {
          let exec = require(this.commandarray[i].path);
          exec(this, message);
          delete require.cache[require.resolve(this.commandarray[i].path)]
          break;
        }
      }
    };
  }
}

module.exports = Client;
@@ -517,20 +517,19 @@
     let 
-exec
+Run
  = requi
@@ -573,12 +573,11 @@
     
-exec
+Run
 (thi
@@ -663,16 +663,17 @@
 %5D.path)%5D
+;
 %0A       

update varible name