We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently not all bit-enums are created equal. The following flags should be pluralized:
ActivityFlag
ChannelFlag
GuildSystemChannelFlag
MessageFlag
UserFlag
Consistency.
Add an s.
The text was updated successfully, but these errors were encountered:
Deprecation will be a bit tricky but can be done with a module level __getattr__.
__getattr__
Example:
_deprecated = {"ActivityFlag": ActivityFlags, ...} def __getattr__(name: str) -> typing.Any: if name in _deprecated: do_deprecation_warning() return _deprecated[name] raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
Sorry, something went wrong.
No branches or pull requests
Summary
Currently not all bit-enums are created equal.
The following flags should be pluralized:
ActivityFlag
ChannelFlag
GuildSystemChannelFlag
MessageFlag
UserFlag
Why is this needed?
Consistency.
Ideal implementation
Add an s.
Checklist
The text was updated successfully, but these errors were encountered: