From 8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 7 Jan 2023 03:19:28 +0100 Subject: Fix canary --- src/plugins/apiCommands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/apiCommands.ts') diff --git a/src/plugins/apiCommands.ts b/src/plugins/apiCommands.ts index e92b904..2197b30 100644 --- a/src/plugins/apiCommands.ts +++ b/src/plugins/apiCommands.ts @@ -50,10 +50,10 @@ export default definePlugin({ }, // Show plugin name instead of "Built-In" { - find: "().source,children", + find: ".source,children", replacement: { // ...children: p?.name - match: /(?<=:(.{1,3})\.displayDescription\}.{0,200}\(\)\.source,children:)[^}]+/, + match: /(?<=:(.{1,3})\.displayDescription\}.{0,200}\.source,children:)[^}]+/, replace: "$1.plugin||($&)" } } -- cgit