diff --git a/commands/skip.ts b/commands/skip.ts index 0eb7be0..b7fde9c 100644 --- a/commands/skip.ts +++ b/commands/skip.ts @@ -14,6 +14,7 @@ export const skipCommand = { export async function skip( interaction: Interaction) { if (!interaction.guildId) return; + await interaction.deferReply(); await ensureVoiceConnection(interaction); const subscription = subscriptions.get(interaction.guildId); await interaction.followUp(waitingForResponse); diff --git a/subscription.ts b/subscription.ts index 6cf158f..27c6b2d 100644 --- a/subscription.ts +++ b/subscription.ts @@ -162,6 +162,7 @@ export class MusicSubscription { this.queueLock = false; this.playing = true; this.nowPlaying = nextTrack; + nowPlayingCallback(this); } } catch (error) { // If an error occurred, try the next item of the queue instead