diff --git a/framework/Command.js b/framework/Command.js index 09c54992..70ae60a7 100644 --- a/framework/Command.js +++ b/framework/Command.js @@ -56,6 +56,6 @@ module.exports = class Command { delete require.cache[require.resolve(`../commands/${this.groupID}/${this.memberName}.js`)]; const NewCmd = require(`../commands/${this.groupID}/${this.memberName}.js`); this.client.registry.commands.delete(this.name); - this.client.registry.registerCommand(this.name, new NewCmd(this.client)); + this.client.registry.registerCommand(new NewCmd(this.client)); } };