mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04: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
|
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);
|
.setColor(data.config.embed.color);
|
||||||
return message.reply({
|
return message.reply({
|
||||||
embeds: [embed]
|
embeds: [embed]
|
||||||
|
@ -50,7 +50,7 @@ class Queue extends Command {
|
||||||
dynamic: true
|
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
|
FieldsEmbed
|
||||||
.setArray(queue.songs[1] ? queue.songs.slice(1, queue.songs.length) : [])
|
.setArray(queue.songs[1] ? queue.songs.slice(1, queue.songs.length) : [])
|
||||||
.setAuthorizedUsers([message.author.id])
|
.setAuthorizedUsers([message.author.id])
|
||||||
|
@ -59,7 +59,7 @@ class Queue extends Command {
|
||||||
.setDeleteOnTimeout(true)
|
.setDeleteOnTimeout(true)
|
||||||
.setDisabledNavigationEmojis(["jump"])
|
.setDisabledNavigationEmojis(["jump"])
|
||||||
.setPageIndicator(true)
|
.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();
|
.build();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,5 @@
|
||||||
"USAGE": "{{prefix}}queue",
|
"USAGE": "{{prefix}}queue",
|
||||||
"EXAMPLES": "{{prefix}}queue",
|
"EXAMPLES": "{{prefix}}queue",
|
||||||
"TITLE": "Очередь",
|
"TITLE": "Очередь",
|
||||||
"ADDED": "Добавил",
|
"ADDED": "Добавил"
|
||||||
"PLAYLIST": "Плейлист"
|
|
||||||
}
|
}
|
|
@ -3,6 +3,5 @@
|
||||||
"USAGE": "{{prefix}}queue",
|
"USAGE": "{{prefix}}queue",
|
||||||
"EXAMPLES": "{{prefix}}queue",
|
"EXAMPLES": "{{prefix}}queue",
|
||||||
"TITLE": "Черга",
|
"TITLE": "Черга",
|
||||||
"ADDED": "Додав",
|
"ADDED": "Додав"
|
||||||
"PLAYLIST": "Плейлист"
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue