better error messages

This commit is contained in:
Mylloon 2023-02-17 23:01:42 +01:00
parent 18638e1087
commit a9f8b7b967
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 6 additions and 6 deletions

View file

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