Skip to content

Commit

Permalink
docs(CategoryChannel): move setParent() up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Dec 19, 2022
1 parent bd7fe8a commit 06381d4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/discord.js/src/structures/CategoryChannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ const CategoryChannelChildManager = require('../managers/CategoryChannelChildMan
* @extends {GuildChannel}
*/
class CategoryChannel extends GuildChannel {
/**
* A manager of the channels belonging to this category
* @type {CategoryChannelChildManager}
* @readonly
*/
get children() {
return new CategoryChannelChildManager(this);
}

/**
* Sets the category parent of this channel.
* <warn>It is not currently possible to set the parent of a CategoryChannel.</warn>
Expand All @@ -27,6 +18,15 @@ class CategoryChannel extends GuildChannel {
* @param {SetParentOptions} [options={}] The options for setting the parent
* @returns {Promise<GuildChannel>}
*/

/**
* A manager of the channels belonging to this category
* @type {CategoryChannelChildManager}
* @readonly
*/
get children() {
return new CategoryChannelChildManager(this);
}
}

module.exports = CategoryChannel;

0 comments on commit 06381d4

Please sign in to comment.