Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Everytime i try to login the bot this happens.
- UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.
- at WebSocketConnection.client.ws.connection.once.event (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\discord.js\src\client\ClientManager.js:48:41)
- at Object.onceWrapper (events.js:277:13)
- at WebSocketConnection.emit (events.js:189:13)
- at WebSocketConnection.onClose (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:390:10)
- at WebSocket.onClose (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\ws\lib\event-target.js:124:16)
- at WebSocket.emit (events.js:189:13)
- at WebSocket.emitClose (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\ws\lib\websocket.js:191:10)
- at TLSSocket.socketOnClose (C:\Users\jonim\Desktop\Asu-Discord-Bot\node_modules\ws\lib\websocket.js:850:15)
- at TLSSocket.emit (events.js:194:15)
- at _handle.close (net.js:597:12)
- (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)
- (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.
- 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