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; }