Class VoiceState

Hierarchy

Constructors

Properties

channelId: null | string
client: Client<true>
guild: Guild
id: string
requestToSpeakTimestamp: null | number
selfDeaf: null | boolean
selfMute: null | boolean
selfVideo: null | boolean
serverDeaf: null | boolean
serverMute: null | boolean
sessionId: null | string
streaming: null | boolean
suppress: null | boolean

Accessors

  • get deaf(): null | boolean
  • Returns null | boolean

  • get member(): null | GuildMember
  • Returns null | GuildMember

  • get mute(): null | boolean
  • Returns null | boolean

Methods

  • Parameters

    • Optional reason: string

    Returns Promise<GuildMember>

  • Parameters

    • Optional force: boolean

    Returns Promise<VoiceState>

  • Parameters

    • Optional deaf: boolean
    • Optional reason: string

    Returns Promise<GuildMember>

  • Parameters

    • Optional mute: boolean
    • Optional reason: string

    Returns Promise<GuildMember>

  • Parameters

    • Optional request: boolean

    Returns Promise<VoiceState>

  • Parameters

    • Optional suppressed: boolean

    Returns Promise<VoiceState>

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns string

Generated using TypeDoc