Fix broken patches (#701)
This commit is contained in:
@ -37,11 +37,11 @@ export default definePlugin({
|
||||
},
|
||||
},
|
||||
{
|
||||
find: '"username"===',
|
||||
find: '"dot"===',
|
||||
all: true,
|
||||
predicate: () => Settings.plugins.BetterRoleDot.bothStyles,
|
||||
replacement: {
|
||||
match: /"(?:username|dot)"===\w(?!\.\w)/g,
|
||||
match: /"(?:username|dot)"===\i(?!\.\i)/g,
|
||||
replace: "true",
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user