mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix Guild.fetch_members limit parameter typing to be Optional
This commit is contained in:
parent
caf1c6eae4
commit
61577677cd
@ -1854,7 +1854,7 @@ class Guild(Hashable):
|
||||
|
||||
return threads
|
||||
|
||||
async def fetch_members(self, *, limit: int = 1000, after: SnowflakeTime = MISSING) -> AsyncIterator[Member]:
|
||||
async def fetch_members(self, *, limit: Optional[int] = 1000, after: SnowflakeTime = MISSING) -> AsyncIterator[Member]:
|
||||
"""Retrieves an :term:`asynchronous iterator` that enables receiving the guild's members. In order to use this,
|
||||
:meth:`Intents.members` must be enabled.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user