diff --git a/commands/playlist/remove.js b/commands/playlist/remove.js index f1bb8ab..d1be7ba 100644 --- a/commands/playlist/remove.js +++ b/commands/playlist/remove.js @@ -31,13 +31,13 @@ module.exports = { const song = playlist.tracks[position]; if(!song) return message.channel.send(`${client.i18n.get(language, "playlist", "remove_song_notfound")}`); - playlist.tracks.splice(position + 1, 1); + playlist.tracks.splice(position - 1, 1); await playlist.save(); const embed = new MessageEmbed() .setDescription(`${client.i18n.get(language, "playlist", "remove_removed", { name: Plist, - position: args[1] + 1 + position: args[1] })}`) .setColor(client.color) diff --git a/slashcommands/filters/equalizer.js b/slashcommands/filters/equalizer.js index 045c991..05ae920 100644 --- a/slashcommands/filters/equalizer.js +++ b/slashcommands/filters/equalizer.js @@ -83,8 +83,8 @@ module.exports = { return msg.edit({ content: " ", embeds: [embed] }); } else { const Premiumed = new MessageEmbed() - .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premiun_author")}`, iconURL: client.user.displayAvatarURL() }) - .setDescription(`${client.i18n.get(language, "nopremium", "premiun_desc")}`) + .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premium_author")}`, iconURL: client.user.displayAvatarURL() }) + .setDescription(`${client.i18n.get(language, "nopremium", "premium_desc")}`) .setColor(client.color) .setTimestamp() diff --git a/slashcommands/playlist/create.js b/slashcommands/playlist/create.js index 9830d76..7eecaa5 100644 --- a/slashcommands/playlist/create.js +++ b/slashcommands/playlist/create.js @@ -141,8 +141,8 @@ module.exports = { }).catch(err => console.log(err)); } else { const Premiumed = new MessageEmbed() - .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premiun_author")}`, iconURL: client.user.displayAvatarURL() }) - .setDescription(`${client.i18n.get(language, "nopremium", "premiun_desc")}`) + .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premium_author")}`, iconURL: client.user.displayAvatarURL() }) + .setDescription(`${client.i18n.get(language, "nopremium", "premium_desc")}`) .setColor(client.color) .setTimestamp() diff --git a/slashcommands/playlist/delete.js b/slashcommands/playlist/delete.js index d44dc1b..c0bbe2b 100644 --- a/slashcommands/playlist/delete.js +++ b/slashcommands/playlist/delete.js @@ -37,8 +37,8 @@ module.exports = { interaction.editReply({ embeds: [embed] }); } else { const Premiumed = new MessageEmbed() - .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premiun_author")}`, iconURL: client.user.displayAvatarURL() }) - .setDescription(`${client.i18n.get(language, "nopremium", "premiun_desc")}`) + .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premium_author")}`, iconURL: client.user.displayAvatarURL() }) + .setDescription(`${client.i18n.get(language, "nopremium", "premium_desc")}`) .setColor(client.color) .setTimestamp() diff --git a/slashcommands/playlist/detail.js b/slashcommands/playlist/detail.js index 1953914..517732c 100644 --- a/slashcommands/playlist/detail.js +++ b/slashcommands/playlist/detail.js @@ -85,8 +85,8 @@ module.exports = { } } else { const Premiumed = new MessageEmbed() - .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premiun_author")}`, iconURL: client.user.displayAvatarURL() }) - .setDescription(`${client.i18n.get(language, "nopremium", "premiun_desc")}`) + .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premium_author")}`, iconURL: client.user.displayAvatarURL() }) + .setDescription(`${client.i18n.get(language, "nopremium", "premium_desc")}`) .setColor(client.color) .setTimestamp() diff --git a/slashcommands/playlist/import.js b/slashcommands/playlist/import.js index abad751..766a717 100644 --- a/slashcommands/playlist/import.js +++ b/slashcommands/playlist/import.js @@ -95,8 +95,8 @@ module.exports = { } } else { const Premiumed = new MessageEmbed() - .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premiun_author")}`, iconURL: client.user.displayAvatarURL() }) - .setDescription(`${client.i18n.get(language, "nopremium", "premiun_desc")}`) + .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premium_author")}`, iconURL: client.user.displayAvatarURL() }) + .setDescription(`${client.i18n.get(language, "nopremium", "premium_desc")}`) .setColor(client.color) .setTimestamp() diff --git a/slashcommands/playlist/remove.js b/slashcommands/playlist/remove.js index 506edc0..135d53a 100644 --- a/slashcommands/playlist/remove.js +++ b/slashcommands/playlist/remove.js @@ -37,13 +37,13 @@ module.exports = { const song = playlist.tracks[position]; if(!song) return interaction.editReply(`${client.i18n.get(language, "playlist", "remove_song_notfound")}`); - playlist.tracks.splice(position + 1, 1); + playlist.tracks.splice(position - 1, 1); await playlist.save(); const embed = new MessageEmbed() .setDescription(`${client.i18n.get(language, "playlist", "remove_removed", { name: Plist, - position: pos + 1 + position: pos })}`) .setColor(client.color) diff --git a/slashcommands/playlist/view.js b/slashcommands/playlist/view.js index 4072902..b990623 100644 --- a/slashcommands/playlist/view.js +++ b/slashcommands/playlist/view.js @@ -72,8 +72,8 @@ module.exports = { } } else { const Premiumed = new MessageEmbed() - .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premiun_author")}`, iconURL: client.user.displayAvatarURL() }) - .setDescription(`${client.i18n.get(language, "nopremium", "premiun_desc")}`) + .setAuthor({ name: `${client.i18n.get(language, "nopremium", "premium_author")}`, iconURL: client.user.displayAvatarURL() }) + .setDescription(`${client.i18n.get(language, "nopremium", "premium_desc")}`) .setColor(client.color) .setTimestamp()