mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 10:53:10 +00:00
Use lower level Guild.owner_id for permission resolution.
This commit is contained in:
@ -418,8 +418,7 @@ class GuildChannel:
|
||||
# The operation first takes into consideration the denied
|
||||
# and then the allowed.
|
||||
|
||||
o = self.guild.owner
|
||||
if o is not None and member.id == o.id:
|
||||
if self.guild.owner_id == member.id:
|
||||
return Permissions.all()
|
||||
|
||||
default = self.guild.default_role
|
||||
|
Reference in New Issue
Block a user