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

You are viewing a single comment. View All
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