From a2b86607355ebb62fad25e40fd25f0922b466fbf Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Fri, 25 Jun 2021 19:26:04 +0200 Subject: [PATCH] Help for netmodules with netmodules not netload Before you had to type help netload to get information about netmodules, but now it is netmodules to not conflict with a command with the same name. --- commands/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/help.js b/commands/help.js index 77b7851..6177d67 100644 --- a/commands/help.js +++ b/commands/help.js @@ -14,7 +14,7 @@ module.exports = { var commands = " " let commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); let x = 0 - if (args[0] == "netload") { + if (args[0] == "netmodules") { commandFiles = fs.readdirSync('./netload').filter(file => file.endsWith('.js')); if (commandFiles.length == 0) { message.channel.send("There are no netmodules currently loaded.")