8 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!Console log process.env.DISCORD_TOKEN and see what it shows
Hmm. Doesn't work in the exact functional component I'm writing this in, but works in the main component
I'm gonna look into this, ty
Of course
nope, this is server-side rendering
This is using Next.js dev command. There is a different one for production
try
rest.setToken('MTA...')
before doing requestsidk i dont want to do that, in my code