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 toolkit2y 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/luna2y ago
npm ls discord.js
raphifou999
raphifou999OP2y ago
k ill try
SolarHosting Partner
replit...
d.js docs
d.js docs2y ago
guide Additional Information: Updating from v13 to v14 read more
treble/luna
treble/luna2y ago
that'll be your issue most likely
raphifou999
raphifou999OP2y ago
treble/luna
treble/luna2y ago
Yeah read the guide i sent
raphifou999
raphifou999OP2y ago
k
treble/luna
treble/luna2y ago
You're using v13 code
raphifou999
raphifou999OP2y ago
ok ill look ill tell you if i have auder problems after
treble/luna
treble/luna2y ago
And missing the message content And you're creating a messagecreate event for every command, create a command / event handler
raphifou999
raphifou999OP2y ago
i dont known how to make a / command but if you know id like to know
d.js docs
d.js docs2y ago
guide Creating Your Bot: Command handling read moreguide Creating Your Bot: Event handling read more
SolarHosting Partner
dm me if u want
raphifou999
raphifou999OP2y ago
k but wait first ill see the how to update
Want results from more Discord servers?
Add your server