From 8bd5a76a494434fa8dd6dd56bf2155785e4a7a78 Mon Sep 17 00:00:00 2001 From: sadan <117494111+sadan4@users.noreply.github.com> Date: Fri, 23 Jan 2026 19:46:48 -0500 Subject: [PATCH] fix showHiddenThings --- src/plugins/showHiddenThings/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/showHiddenThings/index.ts b/src/plugins/showHiddenThings/index.ts index 66b9e1d66..d923d1d1c 100644 --- a/src/plugins/showHiddenThings/index.ts +++ b/src/plugins/showHiddenThings/index.ts @@ -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