Open b4xster opened 5 years ago
My guess is a wrong 'guilds' entry in config.js. Did you use environment variables or changed the config.js file? A correct entry in config.js would be eg: ... guilds: ['guildname'], ... Setting the environment variable is described in the Readme, thats why my guess is you changed the config.js. Maybe this helps. Good luck ;)
Please provide your config.js to get a deeper look into that.
`pi@raspberrypi:~/Desktop/killbot $ npm start
info: Connected info: Logged in as: XXX info: Checking battles... info: Checking killboard... (node:23966) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'indexOf' of undefined at events.sort.filter.filter.forEach.event (/home/pi/Desktop/killbot/lib/index.js:228:33) at Array.forEach ()
at Albion.getEvents.then.events (/home/pi/Desktop/killbot/lib/index.js:224:8)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:23966) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:23966) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
pi@raspberrypi:~/Desktop/killbot $ node -v v10.9.0 pi@raspberrypi:~/Desktop/killbot $ npm -v 6.2.0 `