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 toolkit14mo 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
aercaiiOP14mo ago
No description
Syjalo
Syjalo14mo ago
The code should work fine. Did you save the file?
aercaii
aercaiiOP14mo ago
i will try tomorrow not sure but, when i shut down my computer there isnt a prompt asking to save a file?
Mark
Mark14mo 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
Spam14mo ago
Make sure you saved your file.
Spam
Spam14mo ago
Unsaved:
No description
Spam
Spam14mo ago
Saved:
No description
aercaii
aercaiiOP14mo ago
got it 👍
aercaii
aercaiiOP14mo ago
now there is a discordAPIerror
No description
DeveloperPop
DeveloperPop14mo ago
Means your token is invalid.
aercaii
aercaiiOP14mo ago
fixed
Want results from more Discord servers?
Add your server