Fix ShowHiddenThings
This commit is contained in:
parent
a062f38ea2
commit
1c7b9d8424
1 changed files with 2 additions and 2 deletions
|
|
@ -72,8 +72,8 @@ export default definePlugin({
|
|||
find: "#{intl::GUILD_MEMBER_MOD_VIEW_HIGHEST_ROLE}),children:",
|
||||
predicate: () => settings.store.showModView,
|
||||
replacement: {
|
||||
match: /(?<=\.highestRole\),)role:\i(?<=\[\i\.roles,\i\.highestRoleId,(\i)\].+)/,
|
||||
replace: "role:$self.getHighestRole(arguments[0],$1)",
|
||||
match: /(?<=#{intl::GUILD_MEMBER_MOD_VIEW_HIGHEST_ROLE}.{0,80})role:\i(?<=\[\i\.roles,\i\.highestRoleId,(\i)\].+)/,
|
||||
replace: "role:$self.getHighestRole(arguments[0])",
|
||||
}
|
||||
},
|
||||
// allows you to open mod view on yourself
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue