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 9127204 commit c435f2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions discord/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ class Guild(Hashable):
'approximate_presence_count',
'premium_progress_bar_enabled',
'max_stage_video_users',
'_safety_alerts_channel_id',
)

_PREMIUM_GUILD_LIMITS: ClassVar[Dict[Optional[int], _GuildLimit]] = {
Expand Down Expand Up @@ -495,6 +496,7 @@ def _from_data(self, guild: GuildPayload) -> None:
if state.cache_guild_expressions
else ()
)

self.features: List[GuildFeature] = guild.get('features', [])
self._splash: Optional[str] = guild.get('splash')
self._system_channel_id: Optional[int] = utils._get_as_snowflake(guild, 'system_channel_id')
Expand Down

0 comments on commit c435f2b

Please sign in to comment.