Browse Source

Guild.owner may be None for very large guilds.

pull/4010/head
Arthur 5 years ago
committed by Rapptz
parent
commit
ad87bfb395
  1. 2
      discord/guild.py

2
discord/guild.py

@ -537,7 +537,7 @@ class Guild(Hashable):
@property
def owner(self):
""":class:`Member`: The member that owns the guild."""
"""Optional[:class:`Member`]: The member that owns the guild."""
return self.get_member(self.owner_id)
@property

Loading…
Cancel
Save