FlussuferOrga / Botgart

2 stars 4 forks source link

Error in ConfigChecker #11

Closed ogrady closed 4 years ago

ogrady commented 5 years ago
Starting up...
Akairo: Exports of module instances are deprecated. Consider exporting module classes.
Started up...
2019-05-02T14:14:10.027Z error [ConfigChecker.js]: Error while validating config entry 'owner_id': ["Owner id can't be blank"]
2019-05-02T14:14:10.031Z error [ConfigChecker.js]: Error while validating config entry 'world_assignments': ["World assignments can't be blank","World assignments not an array."]
2019-05-02T14:14:10.031Z crit [ConfigChecker.js]: config.json contains invalid entries. Shutting down preventively. Please fix the config according to the log.
2019-05-02T14:14:10.034Z info [Disabler.js]: Done disabling 0 modules as specified by the config.
2019-05-02T14:14:10.035Z info [Startup.js]: Bot started!
2019-05-02T14:14:10.037Z info [Startup.js]: Database initialised.
2019-05-02T14:14:10.037Z info [Startup.js]: Rescheduling cronjobs from database.
2019-05-02T14:14:10.038Z info [MakeCron.js]: Done rescheduling 0 cronjobs.
erroooooor TypeError: Cannot read property 'Symbol(Symbol.iterator)' of object
    at Function.all (<anonymous>)
    at Promise (/home/user/Sync/Botgart/built/listeners/ConfigChecker.js:34:110)
    at new Promise (<anonymous>)
    at Function.validate.validators.allAsync (/home/user/Sync/Botgart/built/listeners/ConfigChecker.js:34:69)
    at Function.runValidations (/home/user/Sync/Botgart/node_modules/validate.js/validate.js:129:30)
    at Object.async (/home/user/Sync/Botgart/node_modules/validate.js/validate.js:176:23)
    at ConfigChecker.exec (/home/user/Sync/Botgart/built/listeners/ConfigChecker.js:155:18)
    at BotgartClient.emit (events.js:198:15)
    at WebSocketConnection.triggerReady (/home/user/Sync/Botgart/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:125:17)
    at WebSocketConnection.checkIfReady (/home/user/Sync/Botgart/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:141:61)
ogrady commented 4 years ago

Can't reproduce.