From c7b43ddce52d0b8c6632872fbbc35005ef247aed Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Sat, 24 Apr 2021 00:15:45 +0545 Subject: [PATCH] jump feature --- src/Player.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.ts b/src/Player.ts index eca3af4..42921b4 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -979,7 +979,7 @@ export class Player extends EventEmitter { jump(message: Message, track: Track | number): boolean { const toJUMP = this.remove(message, track); const queue = this.getQueue(message); - if (!toJUMP || !queue) throw new PlayerError('Track not found'); + if (!toJUMP || !queue) throw new PlayerError('Specified Track not found'); queue.tracks.splice(1, 0, toJUMP);