Skip to content

Commit

Permalink
fix: don't save already formatted PM_TEXT every time is calculated in…
Browse files Browse the repository at this point in the history
… pmpermit plugin
  • Loading branch information
luisbandalap authored and Jisan09 committed Jun 12, 2024
1 parent b50b492 commit 7397078
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion userbot/plugins/pmpermit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7397078

Please sign in to comment.