Vanity
How do fix my code to work, it only checks members who have joined instead of all members:
16 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!
- ✅
Marked as resolved by staff
Split in two because it was to long
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
Look at my message at the top?
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
'joined members' isnt really clear
all members in a guild have joined the guild
Like when a new member joins, it checks theirs tatus. Instead of checking everyone in the guild all the time.
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
this code just checks whenever someone updates their presence
idk if that emits upon join
but you are never doing any checks across the guild
Well all the logging shows it only checks when a new member joins
Oh?
well yeah, your code only checks the member that the presence update event emitted for
i dont see why you would think it would check the entire guild without any code to do so
the comments also make it look like ai code
Well I'll fix that thank you
I had a friend help me
then ask your friend for support
or send them here
Well they sent me here because they were to busy
I don't really know how to fix that part
then ask your friend, we arent 3rd party support, if you dont know how the code even works its impossible to explain
Thanks for the help :|