aboutsummaryrefslogtreecommitdiff
path: root/node_modules/genius-lyrics/dist/Songs/Song.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/genius-lyrics/dist/Songs/Song.d.ts')
-rw-r--r--node_modules/genius-lyrics/dist/Songs/Song.d.ts31
1 files changed, 31 insertions, 0 deletions
diff --git a/node_modules/genius-lyrics/dist/Songs/Song.d.ts b/node_modules/genius-lyrics/dist/Songs/Song.d.ts
new file mode 100644
index 0000000..8e51887
--- /dev/null
+++ b/node_modules/genius-lyrics/dist/Songs/Song.d.ts
@@ -0,0 +1,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;
+}