From d668aee13851c1c55b89712ea497ed61db7c39c6 Mon Sep 17 00:00:00 2001 From: Vylpes Date: Fri, 23 Oct 2020 19:01:49 +0100 Subject: [PATCH] Removed folder check --- src/client/client.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/client/client.js b/src/client/client.js index 74e75f4..150e5c3 100644 --- a/src/client/client.js +++ b/src/client/client.js @@ -34,10 +34,7 @@ class client extends Client { if (typeof config.prefix != "string") throw "Prefix is not a string"; if (typeof config.commands != "object") throw "Commands is not a string"; - if (!existsSync(`${process.cwd()}/${config.commands}`)) throw "Commands folder doesn't exist"; - if (typeof config.events != "object") throw "Events is not a string"; - if (!existsSync(`${process.cwd()}/${config.events}`)) throw "Events folder doesn't exist"; this._config = config; }