-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Discord Member IsPending not updating when passing membership screening #1373
Comments
Semi-intentional change; |
I find this to be quite a big issue in my use case. I use membership screening in my server and the welcome message is sent only after they have agreed. Previously it was simply done by checking past IsPending to current one in the member updated event. Now got to add other checks like adding a role to the user and checking for role count, to not spam whenever the change the nickname, until the bot has restarted. I understand that in my use case the actual solution is for discord to finally release and documentate the membership screening update thing in the API, but lets be honest, 5.0 is coming sooner than that. |
I'd like to mention that this should work as intended? Just that if you were to pull any given member from |
Also here's the code I'm referring to. |
Lets say I have this code running
Now theoretically it only should execute the most inner if only once, right after agreeing to rules because the user was pending before but after was not. Solution was to check if the user has any roles, but lets say i remove the role, it will trigger and execute the full thing once more. Sorry if im not explaining that well |
So this is in fact an issue with the event, which helps us triage this better. |
Yes the issue is with the event, but when i call for GetMemberAsync, it should provide correct information, which, relating to isPending, is not correct. So the issue is with the isPending field not updating correctly in both, DiscordMember and the event when member is updated. |
Make sure you familiarize yourself with our contributing guidelines.
Summary
IsPending for DiscordMember does not update after agreeing to the rules via membership screening.
Details
D#+ does not update IsPending status if user updates it while bot is active.
But if you join the server and agree to rules and only the start the bot, IsPending status is false. So it does get the initial info correctly, just fails to update it.
The text was updated successfully, but these errors were encountered: