feat: Better message in music category #74

Merged
Anri merged 11 commits from prettify-music into main 2023-02-17 23:06:19 +01:00
4 changed files with 6 additions and 6 deletions
Showing only changes of commit a9f8b7b967 - Show all commits

View file

@ -48,7 +48,7 @@ export default {
try { try {
data = await client.player.lyrics.search(request); data = await client.player.lyrics.search(request);
} catch { } catch {
return await interaction.followUp(loc.get("c_lyrics2") + ` \`${request}\``); return await interaction.followUp(`❌ | ${loc.get("c_lyrics2")} \`${request}\``);
} }
} else { } else {
const queue = client.player.queues.get(interaction.guildId ?? ""); const queue = client.player.queues.get(interaction.guildId ?? "");
@ -58,7 +58,7 @@ export default {
try { try {
data = await client.player.lyrics.search(title); data = await client.player.lyrics.search(title);
} catch { } catch {
return await interaction.followUp(loc.get("c_lyrics2") + ` \`${title}\``); return await interaction.followUp(`❌ | ${loc.get("c_lyrics2")} \`${title}\``);
} }
} }
} }
@ -114,6 +114,6 @@ export default {
return; return;
} }
return await interaction.followUp(loc.get("c_lyrics1")); return await interaction.followUp(`❌ | ${loc.get("c_lyrics1")}`);
}, },
}; };

View file

@ -97,6 +97,6 @@ export default {
} }
} }
return await interaction.reply(loc.get("c_repeat1")); return await interaction.reply(`❌ | ${loc.get("c_repeat1")}`);
}, },
}; };

View file

@ -53,6 +53,6 @@ export default {
return await interaction.reply(msg); return await interaction.reply(msg);
} }
return await interaction.reply(loc.get("c_skip2")); return await interaction.reply(`❌ | ${loc.get("c_skip2")}`);
}, },
}; };

View file

@ -31,7 +31,7 @@ export default {
}); });
if (!(queue.connection || queue.playing)) { if (!(queue.connection || queue.playing)) {
return interaction.reply(loc.get("c_stop1")); return interaction.reply(`❌ | ${loc.get("c_stop1")}`);
} }
queue.destroy(); queue.destroy();