mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 02:43:01 +00:00
Use lower level Guild.owner_id for permission resolution.
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user