diff options
| author | Sebastian Law <[email protected]> | 2020-06-28 00:45:58 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-28 03:45:58 -0400 |
| commit | b4b953bfc66adc235e06774b0481ceb847753793 (patch) | |
| tree | 2d0cbd871944e3a5184b2dbec75dc59ddabad6d5 /discord/member.py | |
| parent | Fix a KeyError for channels with no category in Guild.by_category (diff) | |
| download | discord.py-b4b953bfc66adc235e06774b0481ceb847753793.tar.xz discord.py-b4b953bfc66adc235e06774b0481ceb847753793.zip | |
Fix various inconsistencies within the documentation (#5067)
Diffstat (limited to 'discord/member.py')
| -rw-r--r-- | discord/member.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/discord/member.py b/discord/member.py index 8d73417c..44a8e094 100644 --- a/discord/member.py +++ b/discord/member.py @@ -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 |