Ask coding questions

← Back to all posts
Discord.JS version 13.2.0 not working
kunosyn

Recently, I've been trying to make a discord bot but whenever I try to, I get an error, I've tried updating the version of node using a .replit file, creating a new project, reinstalling discord.js, and so far I've been unable to find a fix for my issue. If anyone could help it would be appreciated greatly.

Answered by TheDNAHero [earned 5 cycles]
View Answer
Voters
kunosyn
Comments
hotnewtop
TheDNAHero

You need to add a .replit file to update to the new nodejs version. I am pretty sure there is something on it on the replit discord server

kunosyn

@TheDNAHero Whats the code in the replit file?

SamDev7

To create a nodejs repl, go to https://repl.new and search NodeJS 16