Skip to content

Commit

Permalink
Fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
skick1234 committed Jul 26, 2020
1 parent eb316b0 commit b8bcb7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DisTube.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,8 @@ class DisTube extends EventEmitter {
this._deleteQueue(message);
if (this.options.leaveOnFinish && !queue.stopped)
queue.connection.channel.leave();
if (!queue.autoplay) return this.emit("finish", message);
if (!queue.autoplay) this.emit("finish", message);
return;
}
}
queue.skipped = false;
Expand Down

0 comments on commit b8bcb7a

Please sign in to comment.