From 3c161b77dd2d8148e7821d470ae550626a24b196 Mon Sep 17 00:00:00 2001 From: MarcoCoreDuo <90222533+MarcoCoreDuo@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:10:10 +0200 Subject: [PATCH] fix skip error and update readme --- README.md | 2 +- src/services/player.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 836250ee..ac85050d 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ services: ### Node.js **Prerequisites**: -* Node.js (18.x is recommended because it's the current LTS version) +* Node.js (18.17.0 or later is required and latest 18.x.x LTS is recommended) * ffmpeg (4.1 or later) 1. `git clone https://github.com/codetheweb/muse.git && cd muse` diff --git a/src/services/player.ts b/src/services/player.ts index 592ecc0b..5e284a66 100644 --- a/src/services/player.ts +++ b/src/services/player.ts @@ -280,8 +280,8 @@ export default class { if (this.getCurrent() && this.status !== STATUS.PAUSED) { await this.play(); } else { - this.audioPlayer?.stop(true); this.status = STATUS.IDLE; + this.audioPlayer?.stop(true); const settings = await getGuildSettings(this.guildId);