v2.0 #55

Merged
Vylpes merged 73 commits from develop into main 2021-10-04 19:45:15 +01:00
Showing only changes of commit 80122c9bba - Show all commits

View file

@ -10,7 +10,7 @@ class util {
for (let c = 0; c < this._client.config.commands.length; c++) {
let folder = this._client.config.commands[c];
stat(`${process.cwd()}/${folder}/${name}.js`, (err) => {
stat(`${process.cwd()}/${folder}/${name}.js`, err => {
if (err == null) {
let commandFile = require(`${process.cwd()}/${folder}/${name}.js`);
let command = new commandFile();