14 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!No errors, command is pushed and printing saying it sucessfully is working.
But wont show up when i press /
show code
reload discord
oh
still nothing
wait
this does not show how you deploy commands to discord (if it does at all)
what code do u want to see
handle commands?
don't post your token, even in an image
oh crap
this is the code
yeah it is
you should not be deploying commands on every login, you could be hitting a ratelimit for command deployment. do you see one, both, or none of the console.log() statements in the try block
Oh wait..
I had my
process.env.token
oh my fucking god im an idiot..
i moved from repl forgot to change that
lemme see if
:/
you should modify your deployment to not deploy commands on every login
where should i put it
its fixed btw
ty
in a separate script that you call manually when you need to send new data to discord
ok
thx