Skip to content

Commit

Permalink
πŸ› fix: Loop hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzuZensai committed Aug 18, 2024
1 parent 245bb97 commit a9a087f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NekoMelody
Submodule NekoMelody updated 1 files
+3 βˆ’1 src/player/index.ts
2 changes: 1 addition & 1 deletion src/providers/DiscordMusicPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a9a087f

Please sign in to comment.