Add author in lyrics auto search

This commit is contained in:
Mylloon 2023-02-20 18:42:04 +01:00
parent db5aff64c8
commit 1e46327f10
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -56,7 +56,7 @@ export default {
const title = queue.current?.title; const title = queue.current?.title;
if (title) { if (title) {
try { try {
data = await client.player.lyrics.search(title); data = await client.player.lyrics.search(title + " " + queue.current.author);
} catch { } catch {
return await interaction.followUp(`❌ | ${loc.get("c_lyrics2")} \`${title}\``); return await interaction.followUp(`❌ | ${loc.get("c_lyrics2")} \`${title}\``);
} }