mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 09:14:39 -05:00
real :p
This commit is contained in:
parent
6a8b6026fa
commit
8eab3f6840
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