Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NodeEvents

Hierarchy

  • NodeEvents

Index

Methods

connect

  • connect(): void

destroy

  • destroy(): void

disconnect

  • disconnect(reason: { code: number; reason: string }): void
  • Emitted when node disconnects

    Parameters

    • reason: { code: number; reason: string }
      • code: number
      • reason: string

    Returns void

error

  • error(error: Error): void

event

missingPlugins

  • missingPlugins(missing: string[]): any

playerUpdate

  • playerUpdate(guildID: string, state: { connected: boolean; position: number; time: number }): void
  • Emitted whenever playerUpdate is received

    Parameters

    • guildID: string
    • state: { connected: boolean; position: number; time: number }
      • connected: boolean
      • position: number
      • time: number

    Returns void

raw

reconnect

  • reconnect(): void

Generated using TypeDoc