Fixed more stuff

This commit is contained in:
Vylpes 2020-10-23 19:19:44 +01:00
parent 160b306439
commit f2fed721ae

View file

@ -46,8 +46,8 @@ class util {
} }
loadEvents() { loadEvents() {
for (let e = 0; e < this._config.events.length; e++) { for (let e = 0; e < this._client.config.events.length; e++) {
let folder = this._config.events[e]; let folder = this._client.config.events[e];
let eventFiles = readdirSync(`${process.cwd()}/${folder}/`); let eventFiles = readdirSync(`${process.cwd()}/${folder}/`);