-
-
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, | |
}, | |
}, | |
}); |
where put this code ? idk sorry for this questions
Maybe have one tutorial ?
does this still work? I downloaded the plugin but it doesn't show me as deafened to other users
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?
stopped working, any fix?
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](https://private-user-images.githubusercontent.com/107999380/294233952-4ee880e1-624f-4fc7-9410-b191eef88ddb.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMTc2NTEsIm5iZiI6MTcyMDExNzM1MSwicGF0aCI6Ii8xMDc5OTkzODAvMjk0MjMzOTUyLTRlZTg4MGUxLTYyNGYtNGZjNy05NDEwLWIxOTFlZWY4OGRkYi5QTkc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwNFQxODIyMzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYzA3ZTY5NTQ1ZWM4Y2YzMzk2NmMyOGZjMWQ2NjYzMmQzMDU3NjFhZTkwMDcxNjAyMjRhNzAzYWVkZTU2YjE0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Wtw1Kw_a7vyD9l5r8tDGIUd5syuGNnv_ZvLWXmj1gQ8)