mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 14:38:49 +00:00
fix: remove unnecessary queue.clear() call in /stop
This commit is contained in:
1 parent
d496945949
commit
f9fa501125
1 file changed
-1
@@ -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.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user