Skip to content

Commit

Permalink
Merge branch 'showHiddenThings-modView-highest-role-workaround-fix-fi…
Browse files Browse the repository at this point in the history
…nd' into sqaaakoi-stable-v2
  • Loading branch information
Sqaaakoi committed Jul 31, 2024
2 parents 0f5b5c9 + ccd9441 commit bae088c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/showHiddenThings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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: "Messages.GUILD_MEMBER_MOD_VIEW_PERMISSION_GRANTED_BY_ARIA_LABEL,tooltipContentClassName",
find: "Messages.GUILD_MEMBER_MOD_VIEW_PERMISSION_GRANTED_BY_ARIA_LABEL,allowOverflow",
predicate: () => settings.store.showModView,
replacement: {
match: /(role:)\i(?=,guildId.{0,100}role:(\i\[))/,
Expand Down

0 comments on commit bae088c

Please sign in to comment.