fix nowplaying error

This commit is contained in:
Jonny_Bro (Nikita) 2024-05-02 16:55:26 +05:00
parent 1f0bc24cef
commit 07c2b71882
Signed by: jonny_bro
GPG key ID: 3F1ECC04147E9BD8

View file

@ -154,9 +154,9 @@ class Nowplaying extends BaseCommand {
queue.node.skip(); queue.node.skip();
await interaction.followUp({ await interaction.followUp({
content: interaction.success("music/skipto:SUCCESS", { content: interaction.translate("music/skipto:SUCCESS", {
track: `${queue.tracks.at(0).title} - ${queue.tracks.at(0).author}`, track: `${queue.tracks.at(0).title} - ${queue.tracks.at(0).author}`,
}, { locale }), }, locale),
ephemeral: true, ephemeral: true,
}); });