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

View file

@ -41,7 +41,7 @@ export default definePlugin({
all: true, all: true,
predicate: () => Settings.plugins.BetterRoleDot.bothStyles, predicate: () => Settings.plugins.BetterRoleDot.bothStyles,
replacement: { replacement: {
match: /"(?:username|dot)"===\w\b/g, match: /"(?:username|dot)"===\w(?!\.\w)/g,
replace: "true", replace: "true",
}, },
}, },