Ask coding questions

← Back to all posts
I have been trying to set up a discord bot, it shows "syntax error unexpected token "?" " HELP
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
Psn2018
Comments
hotnewtop
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.

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].

Psn2018

tysmmmm it works
@Coder100

Coder100

np
mark as correct answer please @Psn2018