@aoijs/aoi.music
    Preparing search index...

    Class AudioPlayer

    Index

    Constructors

    Properties

    player: AudioPlayer
    queue: Track<"SoundCloud" | "Youtube" | "LocalFile" | "Spotify" | "Url">[]

    Accessors

    • get currentTrack(): Track<
          "SoundCloud"
          | "Youtube"
          | "LocalFile"
          | "Spotify"
          | "Url",
      >

      Returns Track<"SoundCloud" | "Youtube" | "LocalFile" | "Spotify" | "Url">

    • get previousTrack(): Track<
          "SoundCloud"
          | "Youtube"
          | "LocalFile"
          | "Spotify"
          | "Url",
      >

      Returns Track<"SoundCloud" | "Youtube" | "LocalFile" | "Spotify" | "Url">

    Methods

    • Parameters

      • page: number = 1
      • limit: number = 10
      • format: string = "{position}) {title} | {requester.user.username}"

      Returns string[]