Fix deafen
This commit is contained in:
parent
a2f355ac82
commit
dcef23d0ed
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -76,6 +76,7 @@ client.on("message", (msg) => {
|
|||
});
|
||||
|
||||
client.on("voiceStateUpdate", (vcState) => {
|
||||
if(vcState.member.id !== client.user.id) return;
|
||||
vcState.setDeaf(true);
|
||||
vcState.setMute(false);
|
||||
});
|
Loading…
Reference in a new issue