Class: CategoryChannel
Hierarchy
↳
CategoryChannel
Constructors
constructor
• new CategoryChannel(client
, data
)
Parameters
Name | Type |
---|---|
client | Client |
data | APIGuildChannel <any > |
Inherited from
Defined in
packages/libcord/src/structures/channels/GuildChannel.ts:20
Properties
client
• Readonly
client: Client
Inherited from
Defined in
packages/libcord/src/structures/Base.ts:8
guild
• guild: Guild
Inherited from
Defined in
packages/libcord/src/structures/channels/GuildChannel.ts:14
id
• id: string
Inherited from
Defined in
packages/libcord/src/structures/channels/Channel.ts:8
name
• name: string
Inherited from
Defined in
packages/libcord/src/structures/channels/GuildChannel.ts:13
nsfw
• nsfw: boolean
Inherited from
Defined in
packages/libcord/src/structures/channels/GuildChannel.ts:15
parentId
• parentId: null
| string
Inherited from
Defined in
packages/libcord/src/structures/channels/GuildChannel.ts:17
permissionOverwrites
• permissionOverwrites: PermissionOverwrite
[] = []
Inherited from
GuildChannel.permissionOverwrites
Defined in
packages/libcord/src/structures/channels/GuildChannel.ts:18
position
• position: number
Inherited from
Defined in
packages/libcord/src/structures/channels/GuildChannel.ts:16
type
• Readonly
type: Category
= ChannelTypes.Category
Overrides
Defined in
packages/libcord/src/structures/channels/CategoryChannel.ts:5
Accessors
mention
• get
mention(): string
Returns
string
Inherited from
GuildChannel.mention
Defined in
packages/libcord/src/structures/channels/Channel.ts:19
Methods
edit
▸ edit(options
): Promise
<undefined
| VoiceChannel
| GuildChannel
| TextChannel
| CategoryChannel
>
Parameters
Name | Type |
---|---|
options | ChannelEditOptions |
Returns
Promise
<undefined
| VoiceChannel
| GuildChannel
| TextChannel
| CategoryChannel
>
Inherited from
Defined in
packages/libcord/src/structures/channels/GuildChannel.ts:71
update
▸ update(data
): GuildChannel
Parameters
Name | Type |
---|---|
data | APIGuildChannel <any > |