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 (0)

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

Coder100 (19277)

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

Coder100 (19277)

mark as correct answer please @Psn2018