mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-28 16:29:02 +01: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 c = await channel.text();
|
||||||
const tj = JSON.parse(modules.toJson(c));
|
const tj = JSON.parse(modules.toJson(c));
|
||||||
|
|
||||||
|
try {
|
||||||
// info
|
// info
|
||||||
const song = await musicInfo.searchSong(
|
const song = await musicInfo.searchSong(
|
||||||
{
|
{
|
||||||
|
@ -457,7 +458,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
if (!song) {
|
if (!song) {
|
||||||
res.redirect(`/watch?v=${v}`);
|
res.redirect(`/watch?v=${v}`);
|
||||||
}
|
}
|
||||||
try {
|
|
||||||
const lyrics = await lyricsFinder(song.artist + song.title);
|
const lyrics = await lyricsFinder(song.artist + song.title);
|
||||||
if (lyrics == undefined)
|
if (lyrics == undefined)
|
||||||
ly = "This Is Where I'd Put The songs lyrics. IF IT HAD ONE ";
|
ly = "This Is Where I'd Put The songs lyrics. IF IT HAD ONE ";
|
||||||
|
|
Loading…
Reference in a new issue