From 73970782693d59e0be96c5ca43f763c4ab9a5890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Bandala=20P=C3=A9rez?= Date: Wed, 13 Dec 2023 22:05:32 -0600 Subject: [PATCH] fix: don't save already formatted PM_TEXT every time is calculated in pmpermit plugin --- userbot/plugins/pmpermit.py | 1 - 1 file changed, 1 deletion(-) diff --git a/userbot/plugins/pmpermit.py b/userbot/plugins/pmpermit.py index fcef92776f..1550528eb2 100644 --- a/userbot/plugins/pmpermit.py +++ b/userbot/plugins/pmpermit.py @@ -148,7 +148,6 @@ async def do_pm_permit_action(event, chat): # sourcery no-metrics You have {warns}/{totalwarns} warns until you get blocked by the CatUserbot. Don't spam my inbox. say reason and wait until my response.__""" - addgvar("PM_TEXT", USER_BOT_NO_WARN) PM_WARNS[str(chat.id)] += 1 try: if gvarstatus("pmmenu") is None: