Class AoiVoice<T>

Type Parameters

  • T

Hierarchy (view full)

Constructors

Properties

cmds: {
    audioError: Collection<string, Record<string, any>>;
    queueEnd: Collection<string, Record<string, any>>;
    queueStart: Collection<string, Record<string, any>>;
    trackAdd: Collection<string, Record<string, any>>;
    trackEnd: Collection<string, Record<string, any>>;
    trackPause: Collection<string, Record<string, any>>;
    trackResume: Collection<string, Record<string, any>>;
    trackStart: Collection<string, Record<string, any>>;
}
platforms: {
    soundcloud: SCDL;
    spotify?: Spotify;
    youtube: Promise<Innertube>;
}
players: Map<string, AudioPlayer>
plugins: Map<PluginName, Plugin<PluginName>> = ...
prunes: Map<string, {
    channel: string;
    message: Message<boolean>;
}>
spotifyApi: SpotifyWebApi
defaultMaxListeners: number

Methods

  • Type Parameters

    Parameters

    Returns boolean

  • Type Parameters

    Returns U[]

  • Returns number

  • Parameters

    • __namedParameters: {
          selfDeaf?: boolean;
          selfMute?: boolean;
          textChannel: string;
          type: "default" | "fonly" | "bidirect";
          voiceChannel: VoiceChannel;
      }
      • OptionalselfDeaf?: boolean
      • OptionalselfMute?: boolean
      • textChannel: string
      • type: "default" | "fonly" | "bidirect"
      • voiceChannel: VoiceChannel

    Returns Promise<boolean>

  • Parameters

    Returns number

  • Type Parameters

    Parameters

    Returns this

  • Type Parameters

    Parameters

    Returns this

  • Type Parameters

    Parameters

    Returns this

  • Parameters

    • n: number

    Returns this