1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

PronounDB: Fix patch

This commit is contained in:
Nuckyz 2024-04-26 15:55:28 -03:00 committed by Luna
parent 52ee9aba49
commit 07f9ec8339

View file

@ -56,7 +56,7 @@ export default definePlugin({
find: ".pronouns,children",
replacement: [
{
match: /{user:(\i),[^}]*,pronouns:(\i),[^}]*}=\i;/,
match: /{user:(\i),[^}]*,pronouns:(\i),[^}]*}=\i.*?;(?=return)/,
replace: "$&let vcPronounSource;[$2,vcPronounSource]=$self.useProfilePronouns($1.id);"
},
PRONOUN_TOOLTIP_PATCH