1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

Fix RevealAllSpoilers

This commit is contained in:
Vendicated 2023-10-26 00:01:49 +02:00 committed by Luna
parent ea73cc0e20
commit c1a98ad36f

View file

@ -30,9 +30,9 @@ export default definePlugin({
patches: [
{
find: ".removeObscurity=function",
find: ".removeObscurity=",
replacement: {
match: /(?<=\.removeObscurity=function\((\i)\){)/,
match: /(?<=\.removeObscurity=(\i)=>{)/,
replace: (_, event) => `$self.reveal(${event});`
}
}