Ask coding questions

← Back to all posts
can repl update node js?
ChezCoder (1607)

i am making a discord bot that requires nodejs ^12.0.0 but the version repl is using is 10.19.0. please update node!

Comments
hotnewtop
MrEconomical (2304)

we've bugged the admins forever

ChezCoder (1607)

@MrEconomical lol, so the reason why is because discord.js in repl is 12.0.0 but they prob forgot to update nodejs which is currently in 10.19.0... discord removed the RichEmbed constructor and replaced it with MessageEmbed. Problem is, node not being in the right versions, nodejs still thinks it is RickEmbed, not MessageEmbed hence returning an error. how can one get so unlocky XD

ChezCoder (1607)

@MrEconomical are you good in discord.js? I am trying to create a discord bot but the RichEmbeds aren't working .

MrEconomical (2304)

@ChezCoder I don't have much experience with discord bots sorry