[docs] Fix fetch_members/guilds documentation

This commit is contained in:
Nadir Chowdhury
2021-04-01 02:27:40 +01:00
committed by GitHub
parent e66141e002
commit 6887d3946a
3 changed files with 10 additions and 7 deletions

View File

@ -1076,9 +1076,7 @@ class Client:
# Guild stuff
def fetch_guilds(self, *, limit=100, before=None, after=None):
"""|coro|
Retrieves an :class:`.AsyncIterator` that enables receiving your guilds.
"""Retrieves an :class:`.AsyncIterator` that enables receiving your guilds.
.. note::

View File

@ -1261,9 +1261,7 @@ class Guild(Hashable):
return [convert(d) for d in data]
def fetch_members(self, *, limit=1000, after=None):
"""|coro|
Retrieves an :class:`.AsyncIterator` that enables receiving the guild's members. In order to use this,
"""Retrieves an :class:`.AsyncIterator` that enables receiving the guild's members. In order to use this,
:meth:`Intents.members` must be enabled.
.. note::