55
rated 0 times
[
58]
[
3]
/ answers: 1 / hits: 5535
/ 4 Years ago, wed, november 25, 2020, 12:00:00
Hi I'm creating a bot for my server and I was trying to make a member counter in voice channels and when I finished doing it I wrote in the terminal: node index.js
and he started saying that the token was not available to my client.
ERROR:
(node:9596) UnhandledPromiseRejectionWarning: DiscordjsError: Request
to use token, but token was unavailable to the client. at RequestHandler.execute
Here is my code
Note: I did all the bot code in a file just to be able to use it in a .bat file.
More From » node.js