Hello im getting the following error when starting this discord bot
(node:3592) UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.
at WebSocketConnection.client.ws.connection.once.event (/home/ticket/node_modules/discord.js/src/client/ClientManager.js:47:41)
at Object.onceWrapper (events.js:272:13)
at WebSocketConnection.emit (events.js:180:13)
at WebSocketConnection.onClose (/home/ticket/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:387:10)
at WebSocket.onClose (/home/ticket/node_modules/ws/lib/EventTarget.js:103:16)
at WebSocket.emit (events.js:180:13)
at WebSocket.emitClose (/home/ticket/node_modules/ws/lib/WebSocket.js:211:10)
at _receiver.cleanup (/home/ticket/node_modules/ws/lib/WebSocket.js:199:39)
at Receiver.cleanup (/home/ticket/node_modules/ws/lib/Receiver.js:520:15)
at WebSocket.finalize (/home/ticket/node_modules/ws/lib/WebSocket.js:199:20)
(node:3592) 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)
(node:3592) [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.
any ideas?
(node:3592) UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.
at WebSocketConnection.client.ws.connection.once.event (/home/ticket/node_modules/discord.js/src/client/ClientManager.js:47:41)
at Object.onceWrapper (events.js:272:13)
at WebSocketConnection.emit (events.js:180:13)
at WebSocketConnection.onClose (/home/ticket/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:387:10)
at WebSocket.onClose (/home/ticket/node_modules/ws/lib/EventTarget.js:103:16)
at WebSocket.emit (events.js:180:13)
at WebSocket.emitClose (/home/ticket/node_modules/ws/lib/WebSocket.js:211:10)
at _receiver.cleanup (/home/ticket/node_modules/ws/lib/WebSocket.js:199:39)
at Receiver.cleanup (/home/ticket/node_modules/ws/lib/Receiver.js:520:15)
at WebSocket.finalize (/home/ticket/node_modules/ws/lib/WebSocket.js:199:20)
(node:3592) 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)
(node:3592) [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.
any ideas?
