1.0.6 • Published 2 months ago

llyrics v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

Install

npm install llyrics
# or
yarn add llyrics

Example

const findLyrics = require("llyrics"); // Import llyrics

client.on("interactionCreate", async (message) => {
    
    let apiKey = "GENIUS_API_KEY"; // Your Genius API Key
    let songName = "SONG_NAME"; // Song Name

    await findLyrics(apiKey, songName);

    const lyrics = findLyrics.lyrics; // To get the lyrics
    const trackName = findLyrics.trackName; // To get the Track Name
    const trackArtist = findLyrics.trackArtist; // To get the Track Artis

    interaction.channel.send({
        content: lyrics,
    });
});

client.login("token");

Usage

OptionTypeDescription
apiKeyStringGenius API Key to fetch the lyrics from their API. https://genius.com/api-clients
songNameStringSong name to fetch the lyrics.
1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

6 months ago

1.0.1

8 months ago

1.0.0

8 months ago