Skip to content

Instantly share code, notes, and snippets.

@sneksnake
Last active August 17, 2025 19:32
Show Gist options
  • Save sneksnake/08166875e98741e881e4614a69938870 to your computer and use it in GitHub Desktop.
Save sneksnake/08166875e98741e881e4614a69938870 to your computer and use it in GitHub Desktop.
[Vencord] Use fakevoiceoptions command to toggle fake mute & deafen
import definePlugin, { OptionType } from "@utils/types";
export default definePlugin({
name: "Fake Voice Options",
description: "fake mute & deafen",
authors: [{
name: "SaucyDuck",
id: 1004904120056029256n
}],
patches: [
{
find: "e.setSelfMute(n)",
replacement: [{
// prevent client-side mute
match: /e\.setSelfMute\(n\),/g,
replace: 'e.setSelfMute(Vencord.Settings.plugins["Fake Voice Options"].fakeMute?false:n),'
},
{
// prevent client-side deafen
match: /e\.setSelfDeaf\(t\.deaf\)/g,
replace: 'e.setSelfDeaf(Vencord.Settings.plugins["Fake Voice Options"].fakeDeafen?false:t.deaf)'
}]
},
],
options: {
fakeMute: {
description: "Make everyone believe you're muted (you can still speak)",
type: OptionType.BOOLEAN,
default: false,
},
fakeDeafen: {
description: "Make everyone believe you're deafened (you can still hear)",
type: OptionType.BOOLEAN,
default: false,
},
},
});
@sneksnake
Copy link
Author

Hello, i just saw all the replies on my gist.
Didn't knew so many peoples would use it, so i updated it for the new discord update ( they just changed a few shit that broke the regexs )

Also you can toggle the options by going to the plugin settings :
fakevoice

@LeonMaximal1
Copy link

where put this code ? idk sorry for this questions
Maybe have one tutorial ?

@sethdusek
Copy link

does this still work? I downloaded the plugin but it doesn't show me as deafened to other users

@Wikinger8
Copy link

does this still work? I downloaded the plugin but it doesn't show me as deafened to other users

https://www.youtube.com/watch?v=WR7AF1_pmd0

This works

@Troopica1
Copy link

does this still work? I downloaded the plugin but it doesn't show me as deafened to other users

https://www.youtube.com/watch?v=WR7AF1_pmd0

This works

Yeah i was the one who told that guy to make a vid about it - not to flex but yk... πŸ—£οΈπŸ”₯πŸ§β€β™‚οΈπŸ₯©πŸ₯©πŸ˜ˆ

@Wikinger8
Copy link

does this still work? I downloaded the plugin but it doesn't show me as deafened to other users

https://www.youtube.com/watch?v=WR7AF1_pmd0
This works

Yeah i was the one who told that guy to make a vid about it - not to flex but yk... πŸ—£οΈπŸ”₯πŸ§β€β™‚οΈπŸ₯©πŸ₯©πŸ˜ˆ

Then tell him that the button is too big

@omarelghonemy
Copy link

i build this code and didnt run why?

@RaimbowSix
Copy link

not working why>????

brain not working wwhyy ??

@j0k34sec
Copy link

everything working but cant see the toggle button to enable
image
image
image
OS Arch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment