my bot is not working

so i wanted to make a bot for my comunity but its not working i use replit in my browser to edit the code i have 2files the index.js and config.json thats have { "prefix": "!", "token": "someone told me to not show the token but its here", "botOwnerId": "969939887723782218" } and the index is in the scrennshot but its still not working :/ thanks if someone can help
16 Replies
d.js toolkit
d.js toolkit12mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
treble/luna
treble/luna12mo ago
npm ls discord.js
raphifou999
raphifou99912mo ago
k ill try
SolarHosting Partner
replit...
d.js docs
d.js docs12mo ago
guide Additional Information: Updating from v13 to v14 read more
treble/luna
treble/luna12mo ago
that'll be your issue most likely
raphifou999
raphifou99912mo ago
treble/luna
treble/luna12mo ago
Yeah read the guide i sent
raphifou999
raphifou99912mo ago
k
treble/luna
treble/luna12mo ago
You're using v13 code
raphifou999
raphifou99912mo ago
ok ill look ill tell you if i have auder problems after
treble/luna
treble/luna12mo ago
And missing the message content And you're creating a messagecreate event for every command, create a command / event handler
raphifou999
raphifou99912mo ago
i dont known how to make a / command but if you know id like to know
d.js docs
d.js docs12mo ago
guide Creating Your Bot: Command handling read moreguide Creating Your Bot: Event handling read more
SolarHosting Partner
dm me if u want
raphifou999
raphifou99912mo ago
k but wait first ill see the how to update