aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/apiCommands.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/apiCommands.ts')
-rw-r--r--src/plugins/apiCommands.ts4
1 files changed, 2 insertions, 2 deletions
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||($&)"
}
}