ShowHiddenThings: Make it stable compatible
This commit is contained in:
parent
70faa90ab0
commit
2c811c791d
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ export default definePlugin({
|
|||
},
|
||||
// fixes a bug where Members page must be loaded to see highest role, why is Discord depending on MemberSafetyStore.getEnhancedMember for something that can be obtained here?
|
||||
{
|
||||
find: "#{intl::GUILD_MEMBER_MOD_VIEW_PERMISSION_GRANTED_BY_ARIA_LABEL}),text:",
|
||||
find: "#{intl::GUILD_MEMBER_MOD_VIEW_HIGHEST_ROLE}),children:",
|
||||
predicate: () => settings.store.showModView,
|
||||
replacement: {
|
||||
match: /(?<=\.highestRole\),)role:\i(?<=\[\i\.roles,\i\.highestRoleId,(\i)\].+)/,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue