From f9fa501125bc96ade97fc76dda65729712be5044 Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Tue, 19 Dec 2023 12:15:42 +0100 Subject: [PATCH] fix: remove unnecessary queue.clear() call in /stop --- src/interactions/commands/player/stop.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/interactions/commands/player/stop.ts b/src/interactions/commands/player/stop.ts index 621aacb..8458cf5 100644 --- a/src/interactions/commands/player/stop.ts +++ b/src/interactions/commands/player/stop.ts @@ -28,7 +28,6 @@ class StopCommand extends BaseSlashCommandInteraction { if (!queue.deleted) { queue.setRepeatMode(QueueRepeatMode.OFF); - queue.clear(); queue.node.stop(); logger.debug('Cleared and stopped the queue.'); }