Repository: Rapptz/discord.py
File: discord/guild.py (Python)

Code before:

        .. describe:: hash(x)

            Returns the guild's hash.

        .. describe:: str(x)

            Returns the guild's name.
    
    Attributes
    ----------
    name: :class:`str`
        The guild preview's name.
    id: :class:`int`
        The guild preview's ID.
    features: List[:class:`str`]
        A list of features the guild has. See :attr:`Guild.features` for more information.
    description: Optional[:class:`str`]
        The guild preview's description.
    emojis: Tuple[:class:`Emoji`, ...]
        All emojis that the guild owns.
    stickers: Tuple[:class:`GuildSticker`, ...]
        All stickers that the guild owns.
    approximate_member_count: :class:`int`
        The approximate number of members in the guild.
    approximate_member_count: :class:`int`
        The approximate number of members currently active in in the guild. Offline members are excluded.
    """

    __slots__ = (
        '_state',
        '_icon',
        '_splash',
        '_discovery_splash',
        'id',
        'name',
        'emojis',
        'stickers',
        'features',
        'description',
        "approximate_member_count",
        "approximate_presence_count",
    )

    def __init__(self, *, data: GuildPreviewPayload, state: ConnectionState) -> None:
        self._state: ConnectionState = state
        self.id = int(data['id'])
        self.name: str = data['name']
        self._icon: Optional[str] = data.get('icon')
        self._splash: Optional[str] = data.get('splash')
        self._discovery_splash: Optional[str] = data.get('discovery_splash')

Review comment (suggestion):
```suggestion
    approximate_presence_count: :class:`int`
```

Code after:
        .. describe:: x != y

            Checks if two guild previews are not equal.

        .. describe:: hash(x)

            Returns the guild's hash.

        .. describe:: str(x)

            Returns the guild's name.

    Attributes
    ----------
    name: :class:`str`
        The guild preview's name.
    id: :class:`int`
        The guild preview's ID.
    features: List[:class:`str`]
        A list of features the guild has. See :attr:`Guild.features` for more information.
    description: Optional[:class:`str`]
        The guild preview's description.
    emojis: Tuple[:class:`Emoji`, ...]
        All emojis that the guild owns.
    stickers: Tuple[:class:`GuildSticker`, ...]
        All stickers that the guild owns.
    approximate_member_count: :class:`int`
        The approximate number of members in the guild.
    approximate_presence_count: :class:`int`
        The approximate number of members currently active in in the guild. Offline members are excluded.
    """

    __slots__ = (
        '_state',
        '_icon',
        '_splash',
        '_discovery_splash',
        'id',
        'name',
        'emojis',
        'stickers',
        'features',
        'description',
        "approximate_member_count",
        "approximate_presence_count",
    )

    def __init__(self, *, data: GuildPreviewPayload, state: ConnectionState) -> None:
        self._state: ConnectionState = state
        self.id = int(data['id'])
        self.name: str = data['name']