diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index 19d7bf3d6..c384279ff 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -155,6 +155,9 @@ class GuildChannel extends Channel { } else if (options[perm] === false) { payload.allow &= ~(Constants.PermissionFlags[perm] || 0); payload.deny |= Constants.PermissionFlags[perm] || 0; + } else if (options[perm] === null) { + payload.allow &= ~(Constants.PermissionFlags[perm] || 0); + payload.deny &= ~(Constants.PermissionFlags[perm] || 0); } }