Ask coding questions

← Back to all posts
Why wont it load my token?
Bandalene

i have it set up in the secrets thing with the key and value and everything jus like youtube showed me and it wont work. every time i hit run it pops up...
SyntaxError: Unexpected token '?'

Voters
Bandalene
Comments
hotnewtop
Coder100

The latest version of discord is not supported on the current version of the node language.

Solutions

JustCoding123

You need to use node 16.6 or higher for discord.js v13. Fork this repl and move your current code into it.