Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guildMemberAdd/Remove - handle guildMember.pending property #242

Open
Eccleria opened this issue Aug 19, 2023 · 0 comments
Open

guildMemberAdd/Remove - handle guildMember.pending property #242

Eccleria opened this issue Aug 19, 2023 · 0 comments
Assignees
Labels
invalid Not fatal issue update Update an already existing feat

Comments

@Eccleria
Copy link
Owner

In discord.js v14, guildMember.pending is now instentiated as null to handle partial (uncached) data.
The change in .pending from True to False allows to detect whether the user is still a user (Membership Screening not accepted) or a guildMember (Membership Screening accepted).

This change will

  • solve the issue with member prompt on console without having Discord welcome message sent.
  • limit the amount of false users stored in alavirien db.
@Eccleria Eccleria added invalid Not fatal issue update Update an already existing feat labels Aug 19, 2023
@Eccleria Eccleria self-assigned this Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not fatal issue update Update an already existing feat
Projects
None yet
Development

No branches or pull requests

1 participant