From c525672777942179bec8762da6394fa2449536d4 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 11 Jan 2023 01:24:55 +0100 Subject: Fix BetterRoleDot crash --- src/plugins/betterRoleDot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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", }, }, -- cgit