feat(VoiceSubscription): mirror basic methods

This commit is contained in:
Snowflake107 2021-06-11 15:26:48 +05:45
parent e0abd1f7b8
commit f8e8f2d8a9

View file

@ -107,6 +107,14 @@ class VoiceSubscription extends EventEmitter<VoiceEvents> {
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