From 6979e560883dcf262d5cb6c19c8524a3fe9dfc96 Mon Sep 17 00:00:00 2001 From: Nadir Chowdhury Date: Wed, 23 Feb 2022 13:05:23 +0000 Subject: [PATCH] Remove manual :async-for: markers --- docs/api.rst | 51 ++++++--------------------------------- docs/ext/commands/api.rst | 5 +--- 2 files changed, 9 insertions(+), 47 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 56ceab3af..c7132313e 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -40,14 +40,11 @@ Client .. autoclass:: Client :members: - :exclude-members: fetch_guilds, event + :exclude-members: event .. automethod:: Client.event() :decorator: - .. automethod:: Client.fetch_guilds - :async-for: - AutoShardedClient ~~~~~~~~~~~~~~~~~~ @@ -3357,10 +3354,7 @@ Messageable .. autoclass:: discord.abc.Messageable() :members: - :exclude-members: history, typing - - .. automethod:: discord.abc.Messageable.history - :async-for: + :exclude-members: typing .. automethod:: discord.abc.Messageable.typing :async-with: @@ -3416,10 +3410,7 @@ User .. autoclass:: User() :members: :inherited-members: - :exclude-members: history, typing - - .. automethod:: history - :async-for: + :exclude-members: typing .. automethod:: typing :async-with: @@ -3510,10 +3501,6 @@ Reaction .. autoclass:: Reaction() :members: - :exclude-members: users - - .. automethod:: users - :async-for: Guild ~~~~~~ @@ -3522,13 +3509,6 @@ Guild .. autoclass:: Guild() :members: - :exclude-members: fetch_members, audit_logs - - .. automethod:: fetch_members - :async-for: - - .. automethod:: audit_logs - :async-for: .. class:: BanEntry @@ -3596,10 +3576,7 @@ Member .. autoclass:: Member() :members: :inherited-members: - :exclude-members: history, typing - - .. automethod:: history - :async-for: + :exclude-members: typing .. automethod:: typing :async-with: @@ -3671,10 +3648,7 @@ TextChannel .. autoclass:: TextChannel() :members: :inherited-members: - :exclude-members: history, typing - - .. automethod:: history - :async-for: + :exclude-members: typing .. automethod:: typing :async-with: @@ -3687,10 +3661,7 @@ Thread .. autoclass:: Thread() :members: :inherited-members: - :exclude-members: history, typing - - .. automethod:: history - :async-for: + :exclude-members: typing .. automethod:: typing :async-with: @@ -3756,10 +3727,7 @@ DMChannel .. autoclass:: DMChannel() :members: :inherited-members: - :exclude-members: history, typing - - .. automethod:: history - :async-for: + :exclude-members: typing .. automethod:: typing :async-with: @@ -3772,10 +3740,7 @@ GroupChannel .. autoclass:: GroupChannel() :members: :inherited-members: - :exclude-members: history, typing - - .. automethod:: history - :async-for: + :exclude-members: typing .. automethod:: typing :async-with: diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index e96315145..32d3f6f4b 100644 --- a/docs/ext/commands/api.rst +++ b/docs/ext/commands/api.rst @@ -346,10 +346,7 @@ Context .. autoclass:: discord.ext.commands.Context :members: :inherited-members: - :exclude-members: history, typing - - .. automethod:: discord.ext.commands.Context.history - :async-for: + :exclude-members: typing .. automethod:: discord.ext.commands.Context.typing :async-with: