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

Added Guild Feature INVITES_DISABLED #1613

Merged
merged 8 commits into from
Sep 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update discord/guild.py
Co-authored-by: Chicc <chicc@induo.dev>
  • Loading branch information
Lulalaby and ChickenDevs authored Sep 6, 2022
commit 905a62d4bc2100d74acf434b8183ac692ddec8b4
2 changes: 1 addition & 1 deletion discord/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ def created_at(self) -> datetime.datetime:

@property
def invites_disabled(self) -> bool:
""":class:`bool`: Returns a boolean indicating if the guild invites are disabled"""
""":class:`bool`: Returns a boolean indicating if the guild invites are disabled."""
return "INVITES_DISABLED" in self.features

def get_member_named(self, name: str, /) -> Optional[Member]:
Expand Down