diff options
| author | Rapptz <[email protected]> | 2017-05-20 08:48:04 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-20 08:48:04 -0400 |
| commit | 229c471106f319aac9ef970cedad3c4be4201e0b (patch) | |
| tree | cc8a852a4a923d30bc3d0ed7883ad2022f612c86 | |
| parent | Oversight in Permissions still having a table. (diff) | |
| download | discord.py-229c471106f319aac9ef970cedad3c4be4201e0b.tar.xz discord.py-229c471106f319aac9ef970cedad3c4be4201e0b.zip | |
More broken Channel references.
| -rw-r--r-- | discord/member.py | 4 | ||||
| -rw-r--r-- | discord/user.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/discord/member.py b/discord/member.py index 6c9dc12e..1fb4b492 100644 --- a/discord/member.py +++ b/discord/member.py @@ -289,7 +289,7 @@ class Member(discord.abc.Messageable, _BaseUser): return False def permissions_in(self, channel): - """An alias for :meth:`Channel.permissions_for`. + """An alias for :meth:`abc.GuildChannel.permissions_for`. Basically equivalent to: @@ -325,7 +325,7 @@ class Member(discord.abc.Messageable, _BaseUser): and not most of the implied permissions or any of the channel permission overwrites. For 100% accurate permission calculation, please use either :meth:`permissions_in` or - :meth:`Channel.permissions_for`. + :meth:`abc.GuildChannel.permissions_for`. This does take into consideration guild ownership and the administrator implication. diff --git a/discord/user.py b/discord/user.py index 3a30428d..7d95d239 100644 --- a/discord/user.py +++ b/discord/user.py @@ -124,7 +124,7 @@ class BaseUser(_BaseUser): return '<@{0.id}>'.format(self) def permissions_in(self, channel): - """An alias for :meth:`Channel.permissions_for`. + """An alias for :meth:`abc.GuildChannel.permissions_for`. Basically equivalent to: |