Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StageChannel

Hierarchy

Index

Constructors

constructor

Properties

bitrate

bitrate: number

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

rtcRegion

rtcRegion: null | string

Optional topic

topic: undefined | string

type

type: 13

userLimit

userLimit: number

videoQualityMode

videoQualityMode: VideoQualityMode

voiceMembers

voiceMembers: Collection<Member>

Methods

createInvite

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

  • edit(options: Pick<EditChannelOptions, "bitrate" | "nsfw" | "parentID" | "rateLimitPerUser" | "topic" | "userLimit" | "name" | "rtcRegion" | "videoQualityMode">, reason?: string): Promise<StageChannel>
  • Parameters

    • options: Pick<EditChannelOptions, "bitrate" | "nsfw" | "parentID" | "rateLimitPerUser" | "topic" | "userLimit" | "name" | "rtcRegion" | "videoQualityMode">
    • Optional reason: string

    Returns Promise<StageChannel>

editPermission

editPosition

getInvites

inspect

join

  • join(options: { opusOnly?: undefined | boolean; shared?: undefined | boolean }): Promise<VoiceConnection>
  • Parameters

    • options: { opusOnly?: undefined | boolean; shared?: undefined | boolean }
      • Optional opusOnly?: undefined | boolean
      • Optional shared?: undefined | boolean

    Returns Promise<VoiceConnection>

leave

  • leave(): void
  • Returns void

permissionsOf

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string

Static from

Static getCreatedAt

  • getCreatedAt(id: string): number
  • Parameters

    • id: string

    Returns number

Generated using TypeDoc