🐛 fix: Loop hanging

This commit is contained in:
2024-08-18 17:16:03 +07:00
parent 6518681a35
commit dc4bf50946
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ export class DiscordMusicPlayerInstance {
public async skip() {
if (!this.voiceConnection) throw new Error('No voice connection');
this.discordPlayer.pause(true);
this.nekoPlayer.skip();
await this.nekoPlayer.skip();
}
public async addTrackToQueue(track: ValidTracks) {