Fixed more stuff
This commit is contained in:
parent
160b306439
commit
f2fed721ae
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ class util {
|
|||
}
|
||||
|
||||
loadEvents() {
|
||||
for (let e = 0; e < this._config.events.length; e++) {
|
||||
let folder = this._config.events[e];
|
||||
for (let e = 0; e < this._client.config.events.length; e++) {
|
||||
let folder = this._client.config.events[e];
|
||||
|
||||
let eventFiles = readdirSync(`${process.cwd()}/${folder}/`);
|
||||
|
||||
|
|
Reference in a new issue