mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-10 07:49:48 +00:00
parent
c10bd0a82b
commit
6f211fa5ad
@ -274,7 +274,7 @@ class GuildChannel:
|
||||
await self._move(position, parent_id=parent_id, lock_permissions=lock_permissions, reason=reason)
|
||||
|
||||
overwrites = options.get('overwrites', None)
|
||||
if overwrites:
|
||||
if overwrites is not None:
|
||||
perms = []
|
||||
for target, perm in overwrites.items():
|
||||
if not isinstance(perm, PermissionOverwrite):
|
||||
|
Loading…
x
Reference in New Issue
Block a user