DenizED
Kilopat
- Katılım
- 13 Şubat 2018
- Mesajlar
- 893
- Çözümler
- 2
| var text = new TextDecoder("utf-8"); | |
| WebSocket.prototype.original = WebSocket.prototype.send; | |
| WebSocket.prototype.send = function(data) { | |
| if (Object.prototype.toString.call(data) === "[object ArrayBuffer]") { | |
| if (text.decode(data).includes("self_deaf")) { | |
| console.log("found mute/deafen"); | |
| data = data.replace('"self_mute":false', 'NiceOneDiscord'); | |
| console.log("faked - borkgang.com"); | |
| } | |
| } | |
| WebSocket.prototype.original.apply(this, [data]); | |
| } |