TypeError: (intermediate value).setToken(...) is not a function

still getting this issue for a long time
No description
12 Replies
d.js toolkit
d.js toolkit16mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
aercaii
aercaiiOP16mo ago
No description
Syjalo
Syjalo16mo ago
The code should work fine. Did you save the file?
aercaii
aercaiiOP16mo ago
i will try tomorrow not sure but, when i shut down my computer there isnt a prompt asking to save a file?
Mark
Mark16mo ago
vsc does not prompt to save. you can tell if it's unsaved if there's a white circle by the file name
Spam
Spam16mo ago
Make sure you saved your file.
Spam
Spam16mo ago
Unsaved:
No description
Spam
Spam16mo ago
Saved:
No description
aercaii
aercaiiOP16mo ago
got it 👍
aercaii
aercaiiOP16mo ago
now there is a discordAPIerror
No description
DeveloperPop
DeveloperPop16mo ago
Means your token is invalid.
aercaii
aercaiiOP16mo ago
fixed

Did you find this page helpful?