Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am ready!
- timers.js:479
- throw new ERR_INVALID_CALLBACK();
- ^
- TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
- at setInterval (timers.js:479:11)
- at Client.client.on (C:\Users\Tim\Downloads\mcstatusbot-master\mcbot.js:114:3)
- at Client.emit (events.js:203:15)
- at WebSocketConnection.triggerReady (C:\Users\Tim\Downloads\mcstatusbot-master\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:125:17)
- at WebSocketConnection.checkIfReady (C:\Users\Tim\Downloads\mcstatusbot-master\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:141:61)
- at GuildCreateHandler.handle (C:\Users\Tim\Downloads\mcstatusbot-master\node_modules\discord.js\src\client\websocket\packets\handlers\GuildCreate.js:13:31)
- at WebSocketPacketManager.handle (C:\Users\Tim\Downloads\mcstatusbot-master\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:103:65)
- at WebSocketConnection.onPacket (C:\Users\Tim\Downloads\mcstatusbot-master\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
- at WebSocketConnection.onMessage (C:\Users\Tim\Downloads\mcstatusbot-master\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
- at WebSocket.onMessage (C:\Users\Tim\Downloads\mcstatusbot-master\node_modules\ws\lib\event-target.js:120:16)
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! minecraft-server-bot@1.2.1 start: `node mcbot.js`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the minecraft-server-bot@1.2.1 start script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! C:\Users\Tim\AppData\Roaming\npm-cache\_logs\2019-09-18T03_45_15_823Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement