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
feat(flags): add MemberFlags and relevant fields #1042
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ooliver1
changed the title
feat(flags): Add MemberFlags and relevant fields
feat(flags): add MemberFlags and relevant fields
Apr 17, 2023
ooliver1
added
p: high
Priority: high - should be worked on as soon as reasonable
s: awaiting review
Status: the issue or PR is awaiting reviews
t: api coverage
Type: api coverage - this adds code to cover the discord API
2.5
The issue/PR should go for the 2.5 release
labels
Apr 17, 2023
ooliver1
approved these changes
Apr 27, 2023
ooliver1
requested changes
Apr 27, 2023
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.
Accidental approval yet again
ooliver1
added
2.6
The issue/PR should go for the 2.6 release
and removed
2.5
The issue/PR should go for the 2.5 release
labels
Jun 13, 2023
EmreTech
reviewed
Jun 20, 2023
EmreTech
requested changes
Jun 20, 2023
ooliver1
requested changes
Aug 7, 2023
ooliver1
reviewed
Sep 10, 2023
Co-authored-by: Oliver Wilkes <oliverwilkes2006@icloud.com>
ooliver1
approved these changes
Sep 19, 2023
EmreTech
approved these changes
Sep 20, 2023
ooliver1
removed
the
s: awaiting review
Status: the issue or PR is awaiting reviews
label
Dec 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
2.6
The issue/PR should go for the 2.6 release
p: high
Priority: high - should be worked on as soon as reasonable
t: api coverage
Type: api coverage - this adds code to cover the discord API
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Relevant link to API Docs:
This PR adds support for getting a member's flags via the matching attributes.
I have not tested this but.. most of the code is from my PR to discord.py - Rapptz/discord.py#9204 which was fully tested.
Adds the following:
Classes:
MemberFlags
Attributes to nextcord.Member:
_flags
flags
(property)Kwargs to nextcord.Member.edit:
flags
bypass_verification
Fields to
PartialMember
(type):flags
Possible attrs for
on_member_update
(docs):flags
Checklist
task pyright
and fixed the relevant issues.