Fix DisableCallIdle

This commit is contained in:
TheKodeToad 2024-03-28 11:31:08 +00:00 committed by Luna
parent a4ac21fe23
commit a6c26b7ee2

View file

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