disableDMCallIdle: fix (#1856)

This commit is contained in:
AutumnVN 2023-10-25 20:34:17 +07:00 committed by Luna
parent 873dcb4c49
commit 3abc77b05e

View file

@ -27,7 +27,7 @@ export default definePlugin({
{
find: ".Messages.BOT_CALL_IDLE_DISCONNECT",
replacement: {
match: /(?<=function \i\(\){)(?=.{1,100}\.Messages\.BOT_CALL_IDLE_DISCONNECT)/,
match: /(?<=function \i\(\){)(?=.{1,120}\.Messages\.BOT_CALL_IDLE_DISCONNECT)/,
replace: "return;"
}
}