From b35f380c19223d3a13af6c2464f2887189100b65 Mon Sep 17 00:00:00 2001 From: V Date: Fri, 23 Jan 2026 23:26:55 +0100 Subject: [PATCH] Update src/plugins/_api/commands.ts Co-authored-by: sadan4 <117494111+sadan4@users.noreply.github.com> --- src/plugins/_api/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/_api/commands.ts b/src/plugins/_api/commands.ts index 2a8f16ba4..cca1a6862 100644 --- a/src/plugins/_api/commands.ts +++ b/src/plugins/_api/commands.ts @@ -50,7 +50,7 @@ export default definePlugin({ }, // Show plugin name instead of "Built-In" { - find: "onOptionClick:", + find: "#{intl::COMMANDS_OPTIONAL_COUNT}", replacement: { // ...children: p?.name match: /(?<=:(\i)\.displayDescription\}.{0,200}children:).{0,50}\.name(?=\}\))/,