mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 20:55:13 +00:00
ChatInputButtonAPI: Fix broken patch
This commit is contained in:
parent
3a000a5705
commit
22e9730888
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ export default definePlugin({
|
|||
{
|
||||
find: '"sticker")',
|
||||
replacement: {
|
||||
match: /let (\i)=\(0,\i\.chain\).{0,150}?;(?=return 0===\1\.length)/,
|
||||
replace: "$&Vencord.Api.ChatButtons._injectButtons($1,arguments[0]);"
|
||||
match: /0===(\i)\.length(?=.{0,25}?\(0,\i\.jsxs?\)\(.{0,75}?children:\1)/,
|
||||
replace: "(Vencord.Api.ChatButtons._injectButtons($1,arguments[0]),$&)"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue