Fix DisableCallIdle

This commit is contained in:
TheKodeToad 2024-03-28 11:31:08 +00:00 committed by Nuckyz
parent ec34412100
commit 344f8c9f03
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -29,7 +29,7 @@ export default definePlugin({
{ {
find: ".Messages.BOT_CALL_IDLE_DISCONNECT", find: ".Messages.BOT_CALL_IDLE_DISCONNECT",
replacement: { replacement: {
match: /,?(?=this\.idleTimeout=new \i\.Timeout)/, match: /,?(?=\i\(this,"idleTimeout",new \i\.Timeout\))/,
replace: ";return;" replace: ";return;"
} }
}, },