diff options
author | Vendicated <vendicated@riseup.net> | 2023-04-29 02:02:24 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-04-29 02:04:00 +0200 |
commit | ec72b4c91d422fa95ee93d71f3be839fdad679de (patch) | |
tree | 8755f0f52b7a0b25b27324fe3d8c2d9b07f6842a /src/plugins/pronoundb | |
parent | d70d7c7b498b1a08c2b50544e8e7c0ffada86f38 (diff) | |
download | Vencord-ec72b4c91d422fa95ee93d71f3be839fdad679de.tar.gz Vencord-ec72b4c91d422fa95ee93d71f3be839fdad679de.tar.bz2 Vencord-ec72b4c91d422fa95ee93d71f3be839fdad679de.zip |
PronounDB: Oop, conditional hooks are bad :>
Diffstat (limited to 'src/plugins/pronoundb')
-rw-r--r-- | src/plugins/pronoundb/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pronoundb/index.ts b/src/plugins/pronoundb/index.ts index bc01e1d..227e07d 100644 --- a/src/plugins/pronoundb/index.ts +++ b/src/plugins/pronoundb/index.ts @@ -60,7 +60,7 @@ export default definePlugin({ find: ".USER_PROFILE_ACTIVITY", replacement: { match: /\).showPronouns/, - replace: ").showPronouns||true;if(arguments[0].displayProfile)arguments[0].displayProfile.pronouns=$self.useProfilePronouns(arguments[0].user.id)" + replace: ").showPronouns||true;const vcPronounce=$self.useProfilePronouns(arguments[0].user.id);if(arguments[0].displayProfile)arguments[0].displayProfile.pronouns=vcPronounce" } } ], |