mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 02:19:01 +01:00
real :p
This commit is contained in:
parent
548baf9202
commit
815a40bc89
1 changed files with 14 additions and 13 deletions
|
@ -445,6 +445,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
const c = await channel.text();
|
||||
const tj = JSON.parse(modules.toJson(c));
|
||||
|
||||
try {
|
||||
// info
|
||||
const song = await musicInfo.searchSong(
|
||||
{
|
||||
|
@ -457,7 +458,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
if (!song) {
|
||||
res.redirect(`/watch?v=${v}`);
|
||||
}
|
||||
try {
|
||||
|
||||
const lyrics = await lyricsFinder(song.artist + song.title);
|
||||
if (lyrics == undefined)
|
||||
ly = "This Is Where I'd Put The songs lyrics. IF IT HAD ONE ";
|
||||
|
|
Loading…
Reference in a new issue