From 229c471106f319aac9ef970cedad3c4be4201e0b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 20 May 2017 08:48:04 -0400 Subject: [PATCH] More broken Channel references. --- discord/member.py | 4 ++-- discord/user.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/member.py b/discord/member.py index 6c9dc12ea..1fb4b4920 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 3a30428d4..7d95d2399 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: