18 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!We arent replit support
You also don't need to do it on replit anyway
You can run this locally. It doesn't need to be done from your host
That is, just launch the bot?
What?
Uhhhh
There is a button on the replit that launches the bot, just press it?
What's that got to do with what I said in response to your question
The function of deploy-commands.js is to record the slash (/) commands of your bot, or update them if you made any changes to the description of one
Only run the deploy-commands.js file once before running the bot if you made a modification that is not reflected in the bot.
in the shell
Sec
done?
Oh sry
Yes done
👍
But I got other error
:/
Thx
np
and that is
that is simply an error in your code or the way your directory is arranged.
You may wanna send a screenshot in the appropriate help channel 👍
^
what?
also, please dont recommend yt tutorials as they outdate almost instantly
Its 9 months old
Regardless
The guide has everything you need (and with slash commands)
The video above explains how to use message commands. We use slash commands since v13 and more often than not really provide much support for them