RoleColorEverywhere: improve patch (#750)
This commit is contained in:
parent
8bb0d8314d
commit
46b0d69321
1 changed files with 2 additions and 2 deletions
|
|
@ -107,8 +107,8 @@ export default definePlugin({
|
|||
find: 'tutorialId:"whos-online',
|
||||
replacement: [
|
||||
{
|
||||
match: /(#{intl::CHANNEL_MEMBERS_A11Y_LABEL}.+}\):null,).{0,100}?— ",\i\]\}\)\]/,
|
||||
replace: (_, rest) => `${rest}$self.RoleGroupColor(arguments[0])]`
|
||||
match: /,"aria-hidden":!0,children:\[.{0,200}— ",\i\]\}\)\]/,
|
||||
replace: ',"aria-hidden":!0,children:[$self.RoleGroupColor(arguments[0])]'
|
||||
},
|
||||
],
|
||||
predicate: () => settings.store.memberList
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue