mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
Костыль отменяется
This commit is contained in:
parent
e028bef8c8
commit
218e44cb5d
3 changed files with 5 additions and 7 deletions
|
@ -33,7 +33,7 @@ class Queue extends Command {
|
|||
dynamic: true
|
||||
})
|
||||
})
|
||||
.addField(message.translate("music/np:CURRENTLY_PLAYING"), `[${queue.songs[0].name}](${queue.songs[0].url})\n*${message.translate("music/queue:ADDED")} ${queue.songs[0].member || message.translate("music/queue:PLAYLIST")}*\n`)
|
||||
.addField(message.translate("music/np:CURRENTLY_PLAYING"), `[${queue.songs[0].name}](${queue.songs[0].url})\n*${message.translate("music/queue:ADDED")} ${queue.songs[0].member}*\n`)
|
||||
.setColor(data.config.embed.color);
|
||||
return message.reply({
|
||||
embeds: [embed]
|
||||
|
@ -50,7 +50,7 @@ class Queue extends Command {
|
|||
dynamic: true
|
||||
})
|
||||
})
|
||||
.addField(message.translate("music/np:CURRENTLY_PLAYING"), `[${queue.songs[0].name}](${queue.songs[0].url})\n*${message.translate("music/queue:ADDED")} ${queue.songs[0].member || message.translate("music/queue:PLAYLIST")}*\n`);
|
||||
.addField(message.translate("music/np:CURRENTLY_PLAYING"), `[${queue.songs[0].name}](${queue.songs[0].url})\n*${message.translate("music/queue:ADDED")} ${queue.songs[0].member}*\n`);
|
||||
FieldsEmbed
|
||||
.setArray(queue.songs[1] ? queue.songs.slice(1, queue.songs.length) : [])
|
||||
.setAuthorizedUsers([message.author.id])
|
||||
|
@ -59,7 +59,7 @@ class Queue extends Command {
|
|||
.setDeleteOnTimeout(true)
|
||||
.setDisabledNavigationEmojis(["jump"])
|
||||
.setPageIndicator(true)
|
||||
.formatField(message.translate("music/queue:TITLE"), (track) => `**${queue.songs.indexOf(track)}**. [${track.name}](${track.url})\n*${message.translate("music/queue:ADDED")} ${track.member || message.translate("music/queue:PLAYLIST")}*\n`)
|
||||
.formatField(message.translate("music/queue:TITLE"), (track) => `**${queue.songs.indexOf(track)}**. [${track.name}](${track.url})\n*${message.translate("music/queue:ADDED")} ${track.member}*\n`)
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,5 @@
|
|||
"USAGE": "{{prefix}}queue",
|
||||
"EXAMPLES": "{{prefix}}queue",
|
||||
"TITLE": "Очередь",
|
||||
"ADDED": "Добавил",
|
||||
"PLAYLIST": "Плейлист"
|
||||
"ADDED": "Добавил"
|
||||
}
|
|
@ -3,6 +3,5 @@
|
|||
"USAGE": "{{prefix}}queue",
|
||||
"EXAMPLES": "{{prefix}}queue",
|
||||
"TITLE": "Черга",
|
||||
"ADDED": "Додав",
|
||||
"PLAYLIST": "Плейлист"
|
||||
"ADDED": "Додав"
|
||||
}
|
Loading…
Reference in a new issue