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

MemberFlags values not documented #7111

Closed
baltarius opened this issue Aug 29, 2024 · 0 comments · Fixed by #7113
Closed

MemberFlags values not documented #7111

baltarius opened this issue Aug 29, 2024 · 0 comments · Fixed by #7113

Comments

@baltarius
Copy link

baltarius commented Aug 29, 2024

Description

Using discord.py and listening to every possible member's updates. One of those possibilities are flags. example:
Change in member's Flags
Member: @x
Before: MemberFlags value=46
=>After: MemberFlags value=110

Looking into other flags update:
from 10 to 42
from 42 to 46
from 42 to 106
from 46 to 110

The documentation²³ is both incomplete and inconsistent when compared to the data observed.

Since those data could be a very useful tool for server admins, i am requesting more documentation about the flags values.

²https://discord.com/developers/docs/resources/user#user-object-user-flags
³https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-flags

Steps to Reproduce

async def on_member_update(self, before, after):
print(before.flags, after.flags)

Expected Behavior

Documentation should provide more information about the values and/or how to calculate those.

Current Behavior

Possible to display the values without understanding those

Screenshots/Videos

No response

Client and System Information

python 3.11.3
discord.py 2.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant