diff options
author | Vendicated <vendicated@riseup.net> | 2023-01-07 03:19:28 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-01-07 03:19:37 +0100 |
commit | 8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e (patch) | |
tree | c9d477c8091d2ce7ba7d233cd1befc1538450309 /src/plugins/apiCommands.ts | |
parent | b8ed72286bfca5cbcae55ca37c5968079e43a352 (diff) | |
download | Vencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.tar.gz Vencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.tar.bz2 Vencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.zip |
Fix canary
Diffstat (limited to 'src/plugins/apiCommands.ts')
-rw-r--r-- | src/plugins/apiCommands.ts | 4 |
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||($&)" } } |