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,
predicate: () => Settings.plugins.BetterRoleDot.bothStyles,
replacement: {
match: /"(?:username|dot)"===\w\b/g,
match: /"(?:username|dot)"===\w(?!\.\w)/g,
replace: "true",
},
},