D
D
deMAksii2020-05-13 14:32:17
JavaScript
deMAksii, 2020-05-13 14:32:17

For some reason, I can’t start the bot after that, what should I do?

The error, as I understand it, is from the fact that I installed 2 libraries in discord.js using npm anti-spam and captcha.

(node:2940) UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.
at WebSocketConnection. (D:\Users\Amadey\Desktop\Deadly bot - копия\node_modules\discord.js\src\client\ClientManager.js:48:41)
at Object.onceWrapper (events.js:300:26)
at WebSocketConnection.emit (events.js:210:5)
at WebSocketConnection.onClose (D:\Users\Amadey\Desktop\Deadly bot - копия\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:390:10)
at WebSocket.onClose (D:\Users\Amadey\Desktop\Deadly bot - копия\node_modules\ws\lib\event-target.js:124:16)
at WebSocket.emit (events.js:210:5)
at D:\Users\Amadey\Desktop\Deadly bot - копия\node_modules\ws\lib\websocket.js:220:12
at Receiver.cleanup (D:\Users\Amadey\Desktop\Deadly bot - копия\node_modules\ws\lib\receiver.js:535:15)
at WebSocket.finalize (D:\Users\Amadey\Desktop\Deadly bot - копия\node_modules\ws\lib\websocket.js:206:20)
at TLSSocket.emit (events.js:215:7)
(node:2940) 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:2940) [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.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question