Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CategoryChannel<T>

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

Readonly client

client: T

deleted

deleted: boolean = false

Whether the DM channel is deleted.

since

0.0.1

Readonly guild

guild: Guild

The guild this channel belongs to.

since

0.0.1

Readonly id

id: string

The ID of this channel.

since

0.0.1

Readonly invites

The invites store for this channel.

since

0.0.3

name

name: string

The name of the channel (2-100 characters).

since

0.0.1

parentID

parentID: string | null

Id of the parent category for a channel (each parent category can contain up to 50 channels).

since

0.0.1

permissionOverwrites

permissionOverwrites: OverwriteStore

Explicit permission overwrites for members and roles.

since

0.0.1

see

https://discord.com/developers/docs/resources/channel#overwrite-object

position

position: number

Sorting position of the channel.

since

0.0.1

Readonly type

type: GuildCategory = ChannelType.GuildCategory

Accessors

createdAt

  • get createdAt(): Date

createdTimestamp

  • get createdTimestamp(): number

deletable

  • get deletable(): boolean | null

manageable

  • get manageable(): boolean | null

parent

synced

  • get synced(): boolean | null

viewable

  • get viewable(): boolean | null

Methods

Protected _patch

  • _patch(data: APIChannelData): this

clone

  • clone(): this

delete

  • delete(requestOptions?: RequestOptions): Promise<this>

modify

permissionsFor

syncPermissions

  • syncPermissions(requestOptions?: RequestOptions): Promise<this>

toJSON

  • toJSON(): Record<string, any>

toString

  • toString(): string

valueOf

  • valueOf(): string

Static create

  • create(client: Client, data: APIChannelData, ...extra: keyof unknown[]): Channel | null

Generated using TypeDoc