diff options
author | Vendicated <vendicated@riseup.net> | 2023-01-11 01:24:55 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-01-11 01:24:55 +0100 |
commit | c525672777942179bec8762da6394fa2449536d4 (patch) | |
tree | d714e9bd7c53467a03d5d323b11e130a2cf823f7 | |
parent | a772aa62f55ff16a42ab62f910fb6fcba8d48c32 (diff) | |
download | Vencord-c525672777942179bec8762da6394fa2449536d4.tar.gz Vencord-c525672777942179bec8762da6394fa2449536d4.tar.bz2 Vencord-c525672777942179bec8762da6394fa2449536d4.zip |
Fix BetterRoleDot crash
-rw-r--r-- | src/plugins/betterRoleDot.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/betterRoleDot.ts b/src/plugins/betterRoleDot.ts index 3b2ac39..6cadf79 100644 --- a/src/plugins/betterRoleDot.ts +++ b/src/plugins/betterRoleDot.ts @@ -41,7 +41,7 @@ export default definePlugin({ all: true, predicate: () => Settings.plugins.BetterRoleDot.bothStyles, replacement: { - match: /"(?:username|dot)"===\w\b/g, + match: /"(?:username|dot)"===\w(?!\.\w)/g, replace: "true", }, }, |