Request to use token, but token was unavailable to the client

Ok so basically, everything was fine until my bot stopped responding and gone offline. I searched in Google too but nothing worked.

Code: here

Full error:

(node:11462) UnhandledPromiseRejectionWarning: DiscordjsError: Request to use token, but token was unavailable to the client.
    at RequestHandler.execute (/rbd/pnpm-volume/b9e0d632-1708-40e5-bdd7-987979861ce3/node_modules/.registry.npmjs.org/discord.js/12.5.3/node_modules/discord.js/src/rest/RequestHandler.js:93:15)
    at RequestHandler.execute (/rbd/pnpm-volume/b9e0d632-1708-40e5-bdd7-987979861ce3/node_modules/.registry.npmjs.org/discord.js/12.5.3/node_modules/discord.js/src/rest/RequestHandler.js:97:19)
    at RequestHandler.push (/rbd/pnpm-volume/b9e0d632-1708-40e5-bdd7-987979861ce3/node_modules/.registry.npmjs.org/discord.js/12.5.3/node_modules/discord.js/src/rest/RequestHandler.js:39:25)
(node:11462) 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: 43)```

Ok I fixed it. What you need is to get onto a new project and regen your token.