-
-
Save sneksnake/08166875e98741e881e4614a69938870 to your computer and use it in GitHub Desktop.
| 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, | |
| }, | |
| }, | |
| }); |
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
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... 🗣️🔥🧏♂️🥩🥩😈
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 worksYeah 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
i build this code and didnt run why?
not working why>????
brain not working wwhyy ??
* Vencord, a Discord client mod
* Copyright (c) 2026 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { definePluginSettings } from "@api/Settings";
import definePlugin, { OptionType } from "@utils/types";
export const settings = definePluginSettings({
fakeMute: {
type: OptionType.BOOLEAN,
description: "Show yourself as muted while still being able to speak locally.",
default: false
},
fakeDeafen: {
type: OptionType.BOOLEAN,
description: "Show yourself as deafened while still being able to hear locally.",
default: false
}
});
export default definePlugin({
name: "FakeVoiceOptions",
description: "Fake mute and deafen locally.",
authors: [
{
name: "us.er",
id: 915238003868323891n
}
],
settings,
patches: [
{
find: "setSelfMute",
replacement: [
{
match: /e\.setSelfMute\(n\)/g,
replace: "e.setSelfMute($self.settings.store.fakeMute ? false : n)"
},
{
match: /e\.setSelfDeaf\(t\.deaf\)/g,
replace: "e.setSelfDeaf($self.settings.store.fakeDeafen ? false : t.deaf)"
}
]
}
]
});```
call this index.ts
* Vencord, a Discord client mod * Copyright (c) 2026 Vendicated and contributors * SPDX-License-Identifier: GPL-3.0-or-later */ import { definePluginSettings } from "@api/Settings"; import definePlugin, { OptionType } from "@utils/types"; export const settings = definePluginSettings({ fakeMute: { type: OptionType.BOOLEAN, description: "Show yourself as muted while still being able to speak locally.", default: false }, fakeDeafen: { type: OptionType.BOOLEAN, description: "Show yourself as deafened while still being able to hear locally.", default: false } }); export default definePlugin({ name: "FakeVoiceOptions", description: "Fake mute and deafen locally.", authors: [ { name: "us.er", id: 915238003868323891n } ], settings, patches: [ { find: "setSelfMute", replacement: [ { match: /e\.setSelfMute\(n\)/g, replace: "e.setSelfMute($self.settings.store.fakeMute ? false : n)" }, { match: /e\.setSelfDeaf\(t\.deaf\)/g, replace: "e.setSelfDeaf($self.settings.store.fakeDeafen ? false : t.deaf)" } ] } ] });``` call this index.ts
how to install it
Where do I put this code? I don't have a plugins folder



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