Fix deafen

This commit is contained in:
Ecolipsy 2021-12-04 21:08:32 +01:00
parent a2f355ac82
commit dcef23d0ed

View file

@ -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);
});