a guest Sep 15th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (node:9468) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
  2.     at Client.client.on (C:\Users\rowan\Desktop\CandyMC Discord Bot\bot.js:174:18)
  3.     at Client.emit (events.js:203:15)
  4.     at MessageCreateHandler.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
  5.     at WebSocketPacketManager.handle (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
  6.     at WebSocketConnection.onPacket (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
  7.     at WebSocketConnection.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
  8.     at WebSocket.onMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\event-target.js:120:16)
  9.     at WebSocket.emit (events.js:198:13)
  10.     at Receiver.receiverOnMessage (C:\Users\rowan\Desktop\CandyMC Discord Bot\node_modules\ws\lib\websocket.js:789:20)
  11.     at Receiver.emit (events.js:198:13)
  12. (node:9468) 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:9468) [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.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!