feat: Better message in music category #74
1 changed files with 4 additions and 4 deletions
|
@ -72,26 +72,26 @@ export default {
|
|||
// Disable
|
||||
case loc_default?.get(`c_${filename}_sub1_name`)?.toLowerCase() ?? "": {
|
||||
queue.setRepeatMode(QueueRepeatMode.OFF);
|
||||
return interaction.reply(loc.get("c_repeat2"));
|
||||
return interaction.reply(loc.get("c_repeat2") + ".");
|
||||
}
|
||||
|
||||
// Queue Repeat
|
||||
case loc_default?.get(`c_${filename}_sub3_name`)?.toLowerCase() ?? "": {
|
||||
queue.setRepeatMode(QueueRepeatMode.QUEUE);
|
||||
return interaction.reply(loc.get("c_repeat3") + " " + loc.get("c_repeat6"));
|
||||
return interaction.reply(`${loc.get("c_repeat3")} ${loc.get("c_repeat6")}.`);
|
||||
}
|
||||
|
||||
// Autoplay
|
||||
case loc_default?.get(`c_${filename}_sub4_name`)?.toLowerCase() ?? "": {
|
||||
queue.setRepeatMode(QueueRepeatMode.AUTOPLAY);
|
||||
return interaction.reply(loc.get("c_repeat4") + " " + loc.get("c_repeat6"));
|
||||
return interaction.reply(`${loc.get("c_repeat4")} ${loc.get("c_repeat6")}.`);
|
||||
}
|
||||
|
||||
// Track repeat
|
||||
case loc_default?.get(`c_${filename}_sub2_name`)?.toLowerCase() ?? "": {
|
||||
queue.setRepeatMode(QueueRepeatMode.TRACK);
|
||||
return interaction.reply(
|
||||
loc.get("c_repeat5") + ` ${queue.nowPlaying()?.title} ` + loc.get("c_repeat6")
|
||||
`${loc.get("c_repeat5")} ${queue.nowPlaying()?.title} ${loc.get("c_repeat6")}.`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue