Advertisement
KianV

Error#1

Jul 19th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. (node:7728) UnhandledPromiseRejectionWarning: ReferenceError: client is not defined
  2. at Object.module.exports.run (C:\Users\kianv\3D Objects\ZuidlandBot\commands\suggestie.js:16:23)
  3. at Client.bot.on (C:\Users\kianv\3D Objects\ZuidlandBot\index.js:104:27)
  4. at Client.emit (events.js:197:13)
  5. at MessageCreateHandler.handle (C:\Users\kianv\3D Objects\ZuidlandBot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
  6. at WebSocketPacketManager.handle (C:\Users\kianv\3D Objects\ZuidlandBot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
  7. at WebSocketConnection.onPacket (C:\Users\kianv\3D Objects\ZuidlandBot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
  8. at WebSocketConnection.onMessage (C:\Users\kianv\3D Objects\ZuidlandBot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
  9. at WebSocket.onMessage (C:\Users\kianv\3D Objects\ZuidlandBot\node_modules\ws\lib\event-target.js:120:16)
  10. at WebSocket.emit (events.js:197:13)
  11. at Receiver.receiverOnMessage (C:\Users\kianv\3D Objects\ZuidlandBot\node_modules\ws\lib\websocket.js:789:20)
  12. (node:7728) 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)
  13. (node:7728) [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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement