The newer and updated version on https://github.com/MeGaNeKoS/BetterDiscordPlugins/tree/main/FakeMuteDeafen
Allows you to talk while muted/deafened in Discord Voice Chat
- โ Star this project (Highly Recommended) ;)
- Enable
Discord Developer Console
(search it on google) - Ctrl + Shift + I and go to "Console" tab
"WARNING!.. DO NOT PASTE ANY CODE TO THE CONSOLE UNLESS YOU UNDERSTAND THE CODE OR CONSULT TO YOUR TRUSTED DEVELOPER BEFORE CONTINUE"
- Copy the code from code.js and execute in the console
- Mute or deafen yourself.
- Unmute and undeafen, you'll now be able to talk normally, while others will see you as muted and/or deafen
- To revert it, you need to disconnect or move to other channel first, then come back.
- Permanent revert? restart your discord or run this code
WebSocket.prototype.send = WebSocket.prototype.original
There is 3
mode available for now, which is:
0
for allowing stuck on mute
/deafen
1
for stuck on deafen
only
2
for back to normal
To use it, just type mode =
followed by the mode. e.g mode = 1
.
Discord using WebSocket to send data. So, Here will decode the data if it an ArrayBuffer.
Next, it will check is there any self_mutes
or self_deafen
in the data.
If so, then if the value is true
we forward the data to original WebSocket to tell the server we are on muted/deafened.
If the value false
, it gonna check the guild_id
is null
or not. If it null
, then it will forward the data to original WebSocket to tell the server we want to disconnect from voice channel. then we set the last_channel
to null
if the data has guild id
, then we check is the last_channel
are in the data. If so, then we return. This data is the one will update our mute/deafen status.
otherwise, we will forward all other data, and store the last channel.