feat: Better message in music category #74
3 changed files with 5 additions and 5 deletions
|
@ -121,7 +121,8 @@
|
||||||
"c_queue7": "Page",
|
"c_queue7": "Page",
|
||||||
"c_queue8": "Previous",
|
"c_queue8": "Previous",
|
||||||
"c_queue9": "Next",
|
"c_queue9": "Next",
|
||||||
"c_queue10": "Sorry, an error occurred.",
|
"c_queue10": "Currently",
|
||||||
|
"c_queue11": "Coming up",
|
||||||
|
|
||||||
"c_skip_name": "skip",
|
"c_skip_name": "skip",
|
||||||
"c_skip_desc": "Play the current song",
|
"c_skip_desc": "Play the current song",
|
||||||
|
|
|
@ -122,9 +122,8 @@
|
||||||
"c_queue7": "Page",
|
"c_queue7": "Page",
|
||||||
"c_queue8": "Précédent",
|
"c_queue8": "Précédent",
|
||||||
"c_queue9": "Suivant",
|
"c_queue9": "Suivant",
|
||||||
"c_queue10": "Désolé, une erreur est survenue.",
|
"c_queue10": "Actuellement",
|
||||||
"c_queue11": "Actuellement",
|
"c_queue11": "À suivre",
|
||||||
"c_queue12": "À suivre",
|
|
||||||
|
|
||||||
"c_skip_name": "skip",
|
"c_skip_name": "skip",
|
||||||
"c_skip_desc": "Passe la chanson en cours",
|
"c_skip_desc": "Passe la chanson en cours",
|
||||||
|
|
|
@ -25,7 +25,7 @@ export const embedListQueue = (
|
||||||
embed.setFooter({ text: `${printRepeatMode(queue.repeatMode, loc)}` });
|
embed.setFooter({ text: `${printRepeatMode(queue.repeatMode, loc)}` });
|
||||||
|
|
||||||
tracks.slice((page - 1) * limit_fields, page * limit_fields).forEach((t, idx) => {
|
tracks.slice((page - 1) * limit_fields, page * limit_fields).forEach((t, idx) => {
|
||||||
const name = idx == 0 ? loc.get("c_queue11") : idx == 1 ? loc.get("c_queue12") : "\u200b";
|
const name = idx == 0 ? loc.get("c_queue10") : idx == 1 ? loc.get("c_queue11") : "\u200b";
|
||||||
const idx_track = idx == 0 ? "" : `${idx * page}. `;
|
const idx_track = idx == 0 ? "" : `${idx * page}. `;
|
||||||
embed.addFields({
|
embed.addFields({
|
||||||
name,
|
name,
|
||||||
|
|
Loading…
Reference in a new issue