Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CategoryChannel

Hierarchy

Index

Constructors

constructor

Properties

channels

client

client: Client

createdAt

createdAt: number

guild

guild: Guild

id

id: string

mention

mention: string

name

name: string

nsfw

nsfw: boolean

parentID

parentID: null | string

permissionOverwrites

permissionOverwrites: Collection<PermissionOverwrite>

position

position: number

type

type: 4

Methods

delete

  • delete(reason?: string): Promise<void>
  • Parameters

    • Optional reason: string

    Returns Promise<void>

deletePermission

  • deletePermission(overwriteID: string, reason?: string): Promise<void>
  • Parameters

    • overwriteID: string
    • Optional reason: string

    Returns Promise<void>

edit

  • Parameters

    • options: Pick<CreateChannelOptions, "bitrate" | "nsfw" | "parentID" | "rateLimitPerUser" | "topic" | "userLimit">
    • Optional reason: string

    Returns Promise<CategoryChannel>

editPermission

editPosition

getInvites

inspect

permissionsOf

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string

Static from

Generated using TypeDoc