aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-01-11 01:24:55 +0100
committerVendicated <vendicated@riseup.net>2023-01-11 01:24:55 +0100
commitc525672777942179bec8762da6394fa2449536d4 (patch)
treed714e9bd7c53467a03d5d323b11e130a2cf823f7
parenta772aa62f55ff16a42ab62f910fb6fcba8d48c32 (diff)
downloadVencord-c525672777942179bec8762da6394fa2449536d4.tar.gz
Vencord-c525672777942179bec8762da6394fa2449536d4.tar.bz2
Vencord-c525672777942179bec8762da6394fa2449536d4.zip
Fix BetterRoleDot crash
-rw-r--r--src/plugins/betterRoleDot.ts2
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",
},
},