fix showHiddenThings

This commit is contained in:
sadan 2026-01-23 19:46:48 -05:00
parent 370242f491
commit 8bd5a76a49
No known key found for this signature in database

View file

@ -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