Giter VIP home page Giter VIP logo

discord-fake-mute-deafen's Introduction

DISCONTINUED

The newer and updated version on https://github.com/MeGaNeKoS/BetterDiscordPlugins/tree/main/FakeMuteDeafen

Discord Fake Deafen / Mute

Allows you to talk while muted/deafened in Discord Voice Chat

TL;DR

  1. โ˜† Star this project (Highly Recommended) ;)
  2. Enable Discord Developer Console (search it on google)
  3. 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"

  1. Copy the code from code.js and execute in the console
  2. Mute or deafen yourself.
  3. Unmute and undeafen, you'll now be able to talk normally, while others will see you as muted and/or deafen
  4. To revert it, you need to disconnect or move to other channel first, then come back.
  5. Permanent revert? restart your discord or run this code WebSocket.prototype.send = WebSocket.prototype.original

Extras

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.

How it work?

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.

discord-fake-mute-deafen's People

Contributors

meganekos avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.