feat(VoiceSubscription): mirror basic methods
This commit is contained in:
parent
e0abd1f7b8
commit
f8e8f2d8a9
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue