#Problem with a command.
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
• 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.
discordjs: 14.7.1
node version: v18.12.1
You declare stupid inside the if, so yes, it won’t be defined outside of it. Read up on scopes in JS