Learn to Code via Tutorials on Repl.it!

← Back to all posts
Getting Discord.js on replit (new update for nodevv12)

I have seen that making a new replit and doing

then trying to login with a bot toke doesn't work and gives and error

to fix this just install discord.js v12
go to the console and run

then just require it like always hope this helps