diff --git a/src/VoiceInterface/VoiceSubscription.ts b/src/VoiceInterface/VoiceSubscription.ts index 4ae9829..db782d3 100644 --- a/src/VoiceInterface/VoiceSubscription.ts +++ b/src/VoiceInterface/VoiceSubscription.ts @@ -107,6 +107,14 @@ class VoiceSubscription extends EventEmitter { this.audioPlayer.stop(); } + pause(interpolateSilence?: boolean) { + return this.audioPlayer.pause(interpolateSilence); + } + + resume() { + return this.audioPlayer.unpause(); + } + /** * Play stream * @param {AudioResource} resource The audio resource to play