Songs Lyrics Fetch Pastebin

Hi community,

Is there a way to fetch a songrequest lyrics from pastebin? Let’s say i have x lyrics from a song in pastebin, and if i want to fetch that lyric, all i’d have to do would be !lyrics song and it would fetch the requested song lyrics. I know i would have to add most lyrics manually but i dont have an issue with that, if anyone knows how to avoid doing it manually i’d appreciate it!

Hey @iShadow!

First create a paste like so:

SONG_TITLE|
LYRICS|
SONG_TITLE|
LYRICS|
...
SONG_TITLE|
LYRICS

Then the command is the following:

$(eval a=`$(urlfetch json https://pastebin.com/raw/PASTE_ID)`.split(`|`);q=decodeURIComponent(`$(querystring)`);a[a.findIndex(e=>e.toUpperCase()==q.toUpperCase();)+1];)

Please note that your LYRICS should not exceed 400 characters on Twitch and I believe 200 on YouTube.

Hey @Emily

First of all, thank you for the reply, i’ve tried what you’ve said but i get the following error:
Remote Server Returned Code 403. The command looks like this:

!lyrics $(query) $(eval a = $(urlfetch json https://pastebin.com/raw/hUsjhQWG).split(|);q=decodeURIComponent($(querystring));a[a.findIndex(e=>e.toUpperCase()==q.toUpperCase())+1]; )

Thank you in advanced!

Your paste is private, it should be unlisted.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.