blob: 8e51887921434035576ace3d03e263818ec38a3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
import { Client } from "../Client";
import { Album } from "../Albums/Album";
import { Artist } from "../Artists/Artist";
export declare class Song {
readonly client: Client;
partial: boolean;
title: string;
fullTitle: string;
featuredTitle: string;
id: number;
thumbnail: string;
image: string;
url: string;
endpoint: string;
artist: Artist;
album?: Album;
releasedAt?: Date;
raw: any;
constructor(client: Client, res: any, partial?: boolean);
/**
* Fetches Lyrics of the Track
* @example const Lyrics = await Song.lyrics(true);
*/
lyrics(removeChorus?: boolean): Promise<string>;
/**
* Fetches All Information about the Track and updates all the existing Properties (Requires Key)
* @example const NewSong = await Song.fetch();
*/
fetch(): Promise<this>;
removeChorus(lyrics: string): string;
}
|