mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 16:24:14 +00:00
More broken Channel references.
This commit is contained in:
parent
bd7b2e2d35
commit
229c471106
@ -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.
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user