We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
resolveId
1 parent 8fe166d commit beb3d8eCopy full SHA for beb3d8e
src/managers/GuildChannelManager.js
@@ -403,7 +403,7 @@ class GuildChannelManager extends CachedManager {
403
id: this.client.channels.resolveId(r.channel),
404
position: r.position,
405
lock_permissions: r.lockPermissions,
406
- parent_id: typeof r.parent !== 'undefined' ? this.channels.resolveId(r.parent) : undefined,
+ parent_id: typeof r.parent !== 'undefined' ? this.resolveId(r.parent) : undefined,
407
}));
408
409
await this.client.api.guilds(this.guild.id).channels.patch({ data: channelPositions });
0 commit comments