aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-04-01 02:27:40 +0100
committerGitHub <[email protected]>2021-03-31 21:27:40 -0400
commit6887d3946ae8d50a96011936ced478098bbf2406 (patch)
treed7661526b9589c42aefcb3a44cc38b7007b46679 /discord
parent[docs] suggest presence in constructor instead of change_presence (diff)
downloaddiscord.py-6887d3946ae8d50a96011936ced478098bbf2406.tar.xz
discord.py-6887d3946ae8d50a96011936ced478098bbf2406.zip
[docs] Fix fetch_members/guilds documentation
Diffstat (limited to 'discord')
-rw-r--r--discord/client.py4
-rw-r--r--discord/guild.py4
2 files changed, 2 insertions, 6 deletions
diff --git a/discord/client.py b/discord/client.py
index 7866ffd1..0daf011b 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -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::
diff --git a/discord/guild.py b/discord/guild.py
index 0df3600d..eddffdc4 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -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::