Skip to content

Remove Optional typing here when async iterators are refactored #1747

Open
@github-actions

Description

@github-actions

Line: 1987

pycord//discord/guild.py

Lines 1984 to 1994 in 6ab3292

return threads
# TODO: Remove Optional typing here when async iterators are refactored
def fetch_members(
self, *, limit: int | None = 1000, after: SnowflakeTime | None = None
) -> MemberIterator:
"""Retrieves an :class:`.AsyncIterator` that enables receiving the guild's members. In order to use this,
:meth:`Intents.members` must be enabled.
.. note::

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions