feat: Better message in music category #74
1 changed files with 4 additions and 4 deletions
|
@ -72,26 +72,26 @@ export default {
|
||||||
// Disable
|
// Disable
|
||||||
case loc_default?.get(`c_${filename}_sub1_name`)?.toLowerCase() ?? "": {
|
case loc_default?.get(`c_${filename}_sub1_name`)?.toLowerCase() ?? "": {
|
||||||
queue.setRepeatMode(QueueRepeatMode.OFF);
|
queue.setRepeatMode(QueueRepeatMode.OFF);
|
||||||
return interaction.reply(loc.get("c_repeat2"));
|
return interaction.reply(loc.get("c_repeat2") + ".");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Queue Repeat
|
// Queue Repeat
|
||||||
case loc_default?.get(`c_${filename}_sub3_name`)?.toLowerCase() ?? "": {
|
case loc_default?.get(`c_${filename}_sub3_name`)?.toLowerCase() ?? "": {
|
||||||
queue.setRepeatMode(QueueRepeatMode.QUEUE);
|
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
|
// Autoplay
|
||||||
case loc_default?.get(`c_${filename}_sub4_name`)?.toLowerCase() ?? "": {
|
case loc_default?.get(`c_${filename}_sub4_name`)?.toLowerCase() ?? "": {
|
||||||
queue.setRepeatMode(QueueRepeatMode.AUTOPLAY);
|
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
|
// Track repeat
|
||||||
case loc_default?.get(`c_${filename}_sub2_name`)?.toLowerCase() ?? "": {
|
case loc_default?.get(`c_${filename}_sub2_name`)?.toLowerCase() ?? "": {
|
||||||
queue.setRepeatMode(QueueRepeatMode.TRACK);
|
queue.setRepeatMode(QueueRepeatMode.TRACK);
|
||||||
return interaction.reply(
|
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