Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,700 resources
01
Days
20
Hours
18
Mins
45
Secs

Discord bot error on startup

Status
This thread has been locked.

Donut

Supreme
Feedback score
29
Posts
667
Reactions
368
Resources
0
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?
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Zl0b

Dad
Premium
Feedback score
6
Posts
427
Reactions
200
Resources
0
Code:
(node:3592) UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.
 

CheekyMonkey

Premium
Feedback score
6
Posts
188
Reactions
23
Resources
0
Error: Incorrect login details were provided. That is the token is incorrect or the bot can't log into the discord bot account.
 

Mooselk

Motocross enthusiast
Premium
Feedback score
9
Posts
298
Reactions
213
Resources
0
Not to be rude or anything but how do you miss the first line that clearly says "Error: Incorrect login details were provided."
 

Samuel

The most serious person ever.
Supreme
Feedback score
33
Posts
2,210
Reactions
1,572
Resources
0
Not to be rude or anything but how do you miss the first line that clearly says "Error: Incorrect login details were provided."
They probably saw a bit block of text at once and then, much like most users, noped the fuck out because reading and thinking are difficult things to do.
 

1337

ash is our purest form
Supreme
Feedback score
159
Posts
1,540
Reactions
1,523
Resources
0
They probably saw a bit block of text at once and then, much like most users, noped the fuck out because reading and thinking are difficult things to do.
can I steal/coin the term "noped the fuck out" from you?
 
Status
This thread has been locked.
Top