-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Changes to Membership Screening API #2547
Conversation
should probably remove the routes at the bottom of the file too also looks like your table formatting setting is different from Mason's (has spaces around the pipes in the divider line, which was the old formatting) |
woops good catch, I'll fix those. |
I assume #2530 will be fixed in the next iteration of the API design? |
I'd like to request that changes SHOULD be made to this as well. This is the second time a Discord staffer(not blaming, just as evidence to how confusing this is) has made an inaccurate statement about how Let's make this simpler please 🙏 Thank You! |
This comment has been minimized.
This comment has been minimized.
I believe the scope was specified at the top. This is not in said scope...
They can stay on their VPN
So I should get banned for visiting the same residential area as someone else that's in the server (NATs are a thing)? No thanks. (Just writing this so that you know why you're being downvoted...) |
So, from what I understand the problem of join roles persists. You still need to cache the members with pending=true until either a member remove or member update happens because you otherwise have no way to tell that they pass screening? This is very unfortunate. Edit: This is not only a problem for adding roles on joins, this is generally the problem of losing a way to tell that a member joined for any use-case unless caching the state of pending members. There are a multitude of possible ways to use join events for other purposes, such as welcome DMs, captcha bots, and other similar features. |
I don't see why you'd need to cache for join roles (in most cases), just check |
Discussing... stay tuned. |
Because what if I want to unverify a member for whatever reason? |
docs/resources/Guild.md
Outdated
| nick? | ?string | this users guild nickname | | ||
| roles | array of snowflakes | array of [role](#DOCS_TOPICS_PERMISSIONS/role-object) object ids | | ||
| joined_at | ISO8601 timestamp | when the user joined the guild | | ||
| premium_since | ?ISO8601 timestamp | when the user started [boosting](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-) the guild | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was removing the optional marker from premium_since
intentional here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't take too long to get guild member update events without premiums_since though 😕
A better design could use an event such as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed comment
Hey everyone, a couple of weeks ago we released Membership Screening, a feature that allows servers to require members to agree to rules before they can talk. As part of this, we also introduced new API support & docs (thx @advaith1 ).
This is an announcement that we intend to make significant changes to the API specifically related to getting and editing Membership Screening and the Membership Screening object. Long story short, the current API design isn't great and can be improved. As such, we're undocumenting the current documentation until we finalize the new API and roll it out.
We ARE NOT making changes to
pending
members and how that ties into GuildMemberAdd and GuildMemberUpdated. You can continue to use pending=false to add roles or w/e after someone passes the screening.Hopefully, this doesn't impact too many of you. Thanks for building cool stuff.
Edit cuz as correctly pointed out it should be pending=false.