Discord not going online

My bot wont go online and i get these errors:

(node:10038) UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.

1:03 PM

at WebSocketConnection.client.ws.connection.once.event (/rbd/pnpm-volume/e9fb3907-0cab-47c3-a9da-269d734e14c7/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/ClientManager.js:48:41)

1:03 PM

at Object.onceWrapper (events.js:272:13)

1:03 PM

at WebSocketConnection.emit (events.js:180:13)

1:03 PM

at WebSocketConnection.onClose (/rbd/pnpm-volume/e9fb3907-0cab-47c3-a9da-269d734e14c7/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:390:10)

1:03 PM

at WebSocket.onClose (/rbd/pnpm-volume/e9fb3907-0cab-47c3-a9da-269d734e14c7/node_modules/.registry.npmjs.org/ws/6.2.1/node_modules/ws/lib/event-target.js:124:16)

1:03 PM

at WebSocket.emit (events.js:180:13)

1:03 PM

at WebSocket.emitClose (/rbd/pnpm-volume/e9fb3907-0cab-47c3-a9da-269d734e14c7/node_modules/.registry.npmjs.org/ws/6.2.1/node_modules/ws/lib/websocket.js:191:10)

1:03 PM

at TLSSocket.socketOnClose (/rbd/pnpm-volume/e9fb3907-0cab-47c3-a9da-269d734e14c7/node_modules/.registry.npmjs.org/ws/6.2.1/node_modules/ws/lib/websocket.js:850:15)

1:03 PM

at TLSSocket.emit (events.js:185:15)

1:03 PM

at _handle.close (net.js:541:12)

1:03 PM

(node:10038) 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)

1:03 PM

(node:10038) [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

Check your token. Do you have one? If so, try generating a new one and putting the new one in the .env file.