more fixes
This commit is contained in:
parent
68fb667615
commit
9c7daf8078
3 changed files with 88 additions and 68 deletions
|
@ -507,6 +507,9 @@ class Localuser{
|
|||
waitingForVoice?:((arg:voiceupdate|undefined)=>void);
|
||||
currentVoice?:Voice;
|
||||
async joinVoice(voice:Voice){
|
||||
if(this.currentVoice){
|
||||
this.currentVoice.leave();
|
||||
}
|
||||
this.currentVoice=voice;
|
||||
if(this.ws){
|
||||
this.ws.send(JSON.stringify({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue