CommandsAPI: fix patch
This commit is contained in:
parent
2200aff800
commit
d53d759186
1 changed files with 2 additions and 2 deletions
|
|
@ -50,10 +50,10 @@ export default definePlugin({
|
|||
},
|
||||
// Show plugin name instead of "Built-In"
|
||||
{
|
||||
find: ".source,children",
|
||||
find: "onOptionClick:",
|
||||
replacement: {
|
||||
// ...children: p?.name
|
||||
match: /(?<=:(.{1,3})\.displayDescription\}.{0,200}\.source,children:)[^}]+/,
|
||||
match: /(?<=:(\i)\.displayDescription\}.{0,200}children:).{0,50}\.name(?=\}\))/,
|
||||
replace: "$1.plugin||($&)"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue