Fix BetterRoleDot crash

This commit is contained in:
Vendicated 2023-01-11 01:24:55 +01:00
parent a772aa62f5
commit c525672777
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3
1 changed files with 1 additions and 1 deletions

View File

@ -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",
},
},