Value undefined after SQL database initiation
I may be going crazy, But joinMessage.id is undefined anywhere after I open the database. Anyone whose fucked around with sql Is there some reason thats happening?
5 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!other than the comments thats the part with the error in.
It's the only code in the event
Sorry about the wait, I was playin lethal pff
erm, that isn't running in a Promise context
why are you using resolve() and reject() ?