fix showHiddenThings
This commit is contained in:
parent
370242f491
commit
8bd5a76a49
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ export default definePlugin({
|
|||
predicate: () => settings.store.showModView,
|
||||
replacement: {
|
||||
match: /(#{intl::GUILD_MEMBER_MOD_VIEW_HIGHEST_ROLE}.{0,80})role:\i(?<=\[\i\.roles,\i\.highestRoleId,(\i)\].+)/,
|
||||
replace: (_, rest) => `${rest}role:$self.getHighestRole(arguments[0])`,
|
||||
replace: (_, rest, roles) => `${rest}role:$self.getHighestRole(arguments[0],${roles})`,
|
||||
}
|
||||
},
|
||||
// allows you to open mod view on yourself
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue