/lyrics.js Secret
Last active
May 11, 2022 05:20
Revisions
-
lyfe00011 revised this gist
Feb 8, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/download") Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { if(!match) return await message.sendMessage('Give me input') let { status, result } = await getJson(`https://early-pie-production.up.railway.app/lyrics?name=${match}`) if (!status) return await message.sendMessage(result) return await message.sendMessage('```' + result + '```', { quoted: message.data }); -
lyfe00011 revised this gist
Feb 6, 2022 . 2 changed files with 8 additions and 11 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/download") Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status, result } = await getJson(`https://early-pie-production.up.railway.app/lyrics?name=${match}`) if (!status) return await message.sendMessage(result) return await message.sendMessage('```' + result + '```', { quoted: message.data }); }); This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +0,0 @@ -
lyfe00011 revised this gist
Jan 26, 2022 . 1 changed file with 0 additions and 7 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,5 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/download") Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status, result } = await getJson(`https://untitled-3lmot7du2tk1.runkit.sh/lyrics?name=${match}`) -
lyfe00011 revised this gist
Jan 22, 2022 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/download") /* Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { result } = await getJson('https://untitled-3lmot7du2tk1.runkit.sh/news') const msg = result.map({title} => title).join('\n\n') return await message.sendMessage(msg) }) */ Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status, result } = await getJson(`https://untitled-3lmot7du2tk1.runkit.sh/lyrics?name=${match}`) -
lyfe00011 revised this gist
Jan 21, 2022 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,8 @@ const { getJson } = require("../Utilis/download") Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { result } = await getJson('https://untitled-3lmot7du2tk1.runkit.sh/news') const msg = result.map({title} => title).join('\n\n') return await message.sendMessage(msg) }) Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { -
lyfe00011 revised this gist
Dec 2, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,12 +2,12 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/download") Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { result } = await getJson('https://untitled-3lmot7du2tk1.runkit.sh/news') return await message.sendMessage(result) }) Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status, result } = await getJson(`https://untitled-3lmot7du2tk1.runkit.sh/lyrics?name=${match}`) if (!status) return await message.sendMessage(result) let { title, author, lyrics} = result return await message.sendMessage('```' + `Title : ${title}\n -
lyfe00011 revised this gist
Nov 3, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,12 +2,12 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/download") Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { result } = await getJson('https://lyfe00011.herokuapp.com/news') return await message.sendMessage(result) }) Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status, result } = await getJson(`https://lyfe00011.herokuapp.com/lyrics?name=${match}`) if (!status) return await message.sendMessage(result) let { title, author, lyrics} = result return await message.sendMessage('```' + `Title : ${title}\n -
lyfe00011 revised this gist
Sep 10, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,8 +7,8 @@ Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayala }) Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status, result } = await getJson(`https://untitled-1ouyr1rszhaw.runkit.sh/lyrics?name=${match}`) if (!status) return await message.sendMessage(result) let { title, author, lyrics} = result return await message.sendMessage('```' + `Title : ${title}\n Author : ${author}\n -
lyfe00011 revised this gist
Sep 10, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,12 +2,12 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/download") Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { result } = await getJson('https://untitled-1ouyr1rszhaw.runkit.sh/news') return await message.sendMessage(result) }) Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status,result } = await getJson(`https://untitled-1ouyr1rszhaw.runkit.sh/lyrics?name=${match}`) if(!status)return await message.sendMessage(result) let { title, author, lyrics} = result return await message.sendMessage('```' + `Title : ${title}\n -
lyfe00011 revised this gist
Sep 9, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/download") Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { result } = await getJson('https://untitled-gckj20h3j6vq.runkit.sh/news') -
lyfe00011 revised this gist
Sep 9, 2021 . 1 changed file with 3 additions and 5 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,11 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/donwload") Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { result } = await getJson('https://untitled-gckj20h3j6vq.runkit.sh/news') return await message.sendMessage(result) }) Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status,result } = await getJson(`https://untitled-gckj20h3j6vq.runkit.sh/lyrics?name=${match}`) if(!status)return await message.sendMessage(result) -
lyfe00011 revised this gist
Sep 9, 2021 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,5 +15,4 @@ Asena.addCommand( return await message.sendMessage('```' + `Title : ${title}\n Author : ${author}\n Lyrics : ${lyrics}` + '```', { quoted: message.data }); }); -
lyfe00011 revised this gist
Sep 9, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Asena.addCommand( return await message.sendMessage(result) }) Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "Lyrics." }, async (message, match) => { let { status,result } = await getJson(`https://untitled-gckj20h3j6vq.runkit.sh/lyrics?name=${match}`) if(!status)return await message.sendMessage(result) -
lyfe00011 created this gist
Sep 9, 2021 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ const Asena = require("../Utilis/events") const { getJson } = require("../Utilis/donwload") Asena.addCommand( { pattern: 'news ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { result } = await getJson('https://untitled-gckj20h3j6vq.runkit.sh/news') return await message.sendMessage(result) }) Asena.addCommand( { pattern: 'lyrics ?(.*)', fromMe: true, desc: "News in malayalam." }, async (message, match) => { let { status,result } = await getJson(`https://untitled-gckj20h3j6vq.runkit.sh/lyrics?name=${match}`) if(!status)return await message.sendMessage(result) let { title, author, lyrics} = result return await message.sendMessage('```' + `Title : ${title}\n Author : ${author}\n Lyrics : ${lyrics}` + '```', { quoted: message.data }); })); })