Fix broken patches

This commit is contained in:
Nuckyz 2024-08-02 21:17:47 -03:00
parent 09c6c16cf9
commit e437498c8f
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
4 changed files with 9 additions and 10 deletions

View file

@ -311,7 +311,7 @@ export default definePlugin({
replacement: [
{
// Create a variable for the channel prop
match: /maxUsers:\i,users:\i.+?}=(\i).*?;/,
match: /users:\i,maxUsers:\i.+?}=(\i).*?;/,
replace: (m, props) => `${m}let{shcChannel}=${props};`
},
{