GuildCategory

class GuildCategory

A category channel that groups other channels in the channel list.

Extends:

Properties

Property

Type

Description

parentId

null

Always null; category channels cannot have parent categories.

type

4

The type of this channel. Check it to narrow the channel to its subclass.

Methods

async GuildCategory.edit(options: { name?: string; position?: number; reason?: string; }) → Promise<GuildCategory>

Edit category properties.

Parameters:
  • options: The category properties to update.

Returns:

The updated category.