User leave issue
Hi, I'm making an invite tracking bot for myself, however my leave logic isn't recognising when a user leaves? Originally I thought it may be an SQLite issue, however when adding a debug print statement it doesn't print anything, which is weird because my join logic work and sucesfully prints, could somebody help?
12 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!v23.5.0
[email protected]
The event only emits for cached members if you dont have the partial
With the partial you will only receive the id
I assume it would be this?
oops
No
Read the guide i linked
I did and I am still just as confused?
The guide shows the correct way of defining partials
Still doesn't work for me, nothing is outputted not even an error
First of all that fetch wont ever work, there is no member anymore. Second, show how you added the partial
probs not how your meant to do it but I need those intents, and documents didn;t go over that