Fix various inconsistencies within the documentation (#5067)

This commit is contained in:
Sebastian Law
2020-06-28 00:45:58 -07:00
committed by GitHub
parent f94b00cb48
commit b4b953bfc6
24 changed files with 378 additions and 142 deletions

View File

@ -413,8 +413,13 @@ class Member(discord.abc.Messageable, _BaseUser):
Parameters
-----------
channel: :class:`Channel`
channel: :class:`abc.GuildChannel`
The channel to check your permissions for.
Returns
-------
:class:`Permissions`
The resolved permissions for the member.
"""
return channel.permissions_for(self)
@ -433,7 +438,7 @@ class Member(discord.abc.Messageable, _BaseUser):
@property
def guild_permissions(self):
"""Returns the member's guild permissions.
""":class:`Permissions`: Returns the member's guild permissions.
This only takes into consideration the guild permissions
and not most of the implied permissions or any of the