Use lower level Guild.owner_id for permission resolution.

This commit is contained in:
Rapptz
2019-07-10 14:30:53 -04:00
parent 91f1f430e1
commit 562580a07f
2 changed files with 2 additions and 3 deletions

View File

@ -432,7 +432,7 @@ class Member(discord.abc.Messageable, _BaseUser):
administrator implication.
"""
if self.guild.owner == self:
if self.guild.owner_id == self.id:
return Permissions.all()
base = Permissions.none()