Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. Everytime i try to login the bot this happens.
  2.  
  3. UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.
  4. at WebSocketConnection.client.ws.connection.once.event (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\discord.js\src\client\ClientManager.js:48:41)
  5. at Object.onceWrapper (events.js:277:13)
  6. at WebSocketConnection.emit (events.js:189:13)
  7. at WebSocketConnection.onClose (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:390:10)
  8. at WebSocket.onClose (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\ws\lib\event-target.js:124:16)
  9. at WebSocket.emit (events.js:189:13)
  10. at WebSocket.emitClose (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\ws\lib\websocket.js:191:10)
  11. at TLSSocket.socketOnClose (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\ws\lib\websocket.js:850:15)
  12. at TLSSocket.emit (events.js:194:15)
  13. at _handle.close (net.js:597:12)
  14. (node:11708) 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: 2)
  15. (node:11708) [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.
  16.  
  17. I got a new pc and i used discord.js on my other pc just fine that's why i am wondering whats wrong. also changed token mutliple ties now.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement