Skip to content
← Back to Community
I have been trying to set up a discord bot, it shows "syntax error unexpected token "?" " HELP
Profile icon
Psn2018

It would be awesome if someone could answer and help me find whats wrong in the code heres the link to it

https://replit.com/@Psn2018/KnobbyFatalDll#.replit

Voters
Profile icon
Psn2018
Comments
hotnewtop
Profile icon
JessicaMartin3

thank you for sharing with us. I also faced this problem with game development than I hired the services of Visionary web designs they truly did what I want. I was amazed by their services. If you facing any problem regarding game development so, this company is highly recommended.

Profile icon
Coder100

Discord.js is using node 14 which is unsupported by replit node. Install discord.js v12 by going to the shell > typing npm i [email protected].

Profile icon
Psn2018

tysmmmm it works
@Coder100

Profile icon
Coder100

np
mark as correct answer please @Psn2018