Remove outdated note and example

This commit is contained in:
I. Ahmad 2022-03-23 13:19:55 +05:00 committed by GitHub
parent e9ed231a03
commit 181fc42b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1897,11 +1897,6 @@ class Guild(Hashable):
async for member in guild.fetch_members(limit=150):
print(member.name)
Flattening into a list ::
members = await guild.fetch_members(limit=150).flatten()
# members is now a list of Member...
"""
if not self._state._intents.members:
@ -3438,7 +3433,7 @@ class Guild(Hashable):
Request members that belong to this guild whose username starts with
the query given.
This is a websocket operation and can be slow.
This is a websocket operation.
.. versionadded:: 1.3