Skip to content

Commit

Permalink
fix(GuildChannel): setParent not working (#6276)
Browse files Browse the repository at this point in the history
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
  • Loading branch information
ImRodry and NotSugden committed Aug 2, 2021
1 parent 6e0ea02 commit 7e0618f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/GuildChannel.js
Expand Up @@ -388,7 +388,7 @@ class GuildChannel extends Channel {
setParent(channel, { lockPermissions = true, reason } = {}) {
return this.edit(
{
parentId: channel?.id ?? channel ?? null,
parent: channel ?? null,
lockPermissions,
},
reason,
Expand Down

0 comments on commit 7e0618f

Please sign in to comment.