Skip to content

Commit

Permalink
[Fix] jump at the exact position that was given
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Nov 3, 2021
1 parent a1a9027 commit 9617281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/Music/jump.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = {
});
try {
if (queue) {
await queue.jump(Number(args[0]));
await queue.jump(Number(args[0] - 1));
return await message.channel.send({
embeds: [
embedMessage(
Expand Down Expand Up @@ -99,7 +99,7 @@ module.exports = {

try {
if (queue) {
await queue.jump(Number(position));
await queue.jump(Number(position - 1));
return await interaction.followUp({
embeds: [
embedMessage(
Expand Down

0 comments on commit 9617281

Please sign in to comment.