Skip to content

Commit

Permalink
ya
Browse files Browse the repository at this point in the history
  • Loading branch information
cop-discord committed Mar 28, 2024
1 parent c435f2b commit 9d44f96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discord/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ def _from_data(self, guild: GuildPayload) -> None:
)
self.explicit_content_filter: ContentFilter = try_enum(ContentFilter, guild.get('explicit_content_filter', 0))
self.afk_timeout: int = guild.get('afk_timeout', 0)
self._afk_channel_id: Optional[int] = utils._get_as_snowflake(guild, 'afk_channel_id')
self._icon: Optional[str] = guild.get('icon')
self._banner: Optional[str] = guild.get('banner')
self.unavailable: bool = guild.get('unavailable', False)
Expand Down

0 comments on commit 9d44f96

Please sign in to comment.