Class AoiVoice<T>

Type Parameters

  • T

Hierarchy (View Summary)

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 }>
spotifyApi: SpotifyWebApi
defaultMaxListeners: number

Methods

  • Returns number

  • Parameters

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

    Returns Promise<boolean>

  • Parameters

    • n: number

    Returns this