From 0bfeb8d3b6531d83b699bc938c5ed5c57db09c85 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Wed, 10 Mar 2021 21:10:55 +0100 Subject: [PATCH] Remove TODO Not gonna implement reloading a specific module. I don't really see it being worth it as it doesn't take a long time to just reload everything. --- util/reloadCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/reloadCommands.js b/util/reloadCommands.js index 0386c0b..e5c2c4e 100644 --- a/util/reloadCommands.js +++ b/util/reloadCommands.js @@ -2,7 +2,7 @@ const fs = require('fs') const filepath = 'commands/' -module.exports = function (client) { //TODO: Add ability to reload specified commands with arguments +module.exports = function (client) { let commandFiles = fs.readdirSync(filepath).filter(file => file.endsWith('.js')); if (client.commands.size != 0) {