Constructors
constructor
- new Song(client, res, partial?): Song
Parameters
- client: Client
- res: any
- partial: boolean = false
Properties
featuredTitle
featuredTitle: string
fullTitle
fullTitle: string
instrumental
instrumental: boolean
partial
partial: boolean = false
Optional
releasedAt
releasedAt?: Date
thumbnail
thumbnail: string
Methods
fetch
- fetch(): Promise<Song>
Returns Promise<Song>
lyrics
- lyrics(removeChorus?): Promise<string>
Parameters
- removeChorus: boolean = false
Returns Promise<string>
Static
removeChorus
- removeChorus(lyrics): string
Returns string
Fetches all information about the track and updates all the existing properties (requires key).