mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Add notes stating what Guild.fetch_guild and Guild.fetch_guilds returns
Also fixed two typos.
This commit is contained in:
parent
51c64a3b73
commit
7acb7de195
@ -839,7 +839,12 @@ class Client:
|
||||
def fetch_guilds(self, *, limit=100, before=None, after=None):
|
||||
"""|coro|
|
||||
|
||||
Retreives an :class:`AsyncIterator` that enables receiving your guilds.
|
||||
Retrieves an :class:`AsyncIterator` that enables receiving your guilds.
|
||||
|
||||
.. note::
|
||||
|
||||
Using this, you will only receive :attr:`Guild.owner`, :attr:`Guild.icon`,
|
||||
:attr:`Guild.id`, and :attr:`Guild.name` per :class:`Guild`.
|
||||
|
||||
All parameters are optional.
|
||||
|
||||
@ -885,7 +890,12 @@ class Client:
|
||||
async def fetch_guild(self, guild_id):
|
||||
"""|coro|
|
||||
|
||||
Retreives a :class:`Guild` from an ID.
|
||||
Retrieves a :class:`Guild` from an ID.
|
||||
|
||||
.. note::
|
||||
|
||||
Using this, you will not receive :attr:`Guild.channels`, :class:`Guild.members`,
|
||||
:attr:`Member.activity` and :attr:`Member.voice` per :class:`Member`.
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
|
Loading…
x
Reference in New Issue
Block a user