mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-31 05:23:03 +00:00 
			
		
		
		
	Fix Guild.fetch_members limit parameter typing to be Optional
This commit is contained in:
		| @@ -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. | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user