From 306fb7faab6e0b564f293d9aefe673bef8875d9f Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Tue, 16 Mar 2021 00:18:31 +0100 Subject: [PATCH] Reload netload on reload command --- commands/reload.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/reload.js b/commands/reload.js index cc66052..07f5eea 100644 --- a/commands/reload.js +++ b/commands/reload.js @@ -1,3 +1,5 @@ +const loadNetModules = require("../util/loadNetModules.js"); + module.exports = { name: 'reload', description: 'Reloads modules.', @@ -7,7 +9,7 @@ module.exports = { let reloadCommands = require("../util/reloadCommands.js") let beforeSize = client.commands.size; let sendText; - + loadNetModules(client) reloadCommands(client) if (beforeSize > client.commands.size) { let difference = beforeSize - client.commands.size;