GuildCategory

class GuildCategory()

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

exported from lib.weeble.d

Extends:

Properties

GuildCategory.parentId

type: readonly null

Always null; category channels cannot have parent categories.

GuildCategory.type

type: readonly 4

The type of this channel — use this to narrow to the correct 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.