aboutsummaryrefslogtreecommitdiff
path: root/helpers.py
diff options
context:
space:
mode:
authorhuker667 <huker@tuta.io>2026-07-05 17:47:09 +0300
committerhuker667 <huker@tuta.io>2026-07-05 17:47:09 +0300
commit2f042b06faa4c5962c6e03a7a8b593e944bfa12e (patch)
tree4a9c6cbd26091a5a9d409a16630dd56c29c4e4c0 /helpers.py
parent965a22e0c556b291f3e5564c1c7d9f51c1190909 (diff)
downloaduzbekgpt-2f042b06faa4c5962c6e03a7a8b593e944bfa12e.tar.gz
uzbekgpt-2f042b06faa4c5962c6e03a7a8b593e944bfa12e.tar.bz2
uzbekgpt-2f042b06faa4c5962c6e03a7a8b593e944bfa12e.zip
fix 134o91289042389053
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.py b/helpers.py
index 8618187..e2450f0 100644
--- a/helpers.py
+++ b/helpers.py
@@ -25,7 +25,7 @@ def is_blocked(user_id):
f"подожди {round(10 - time_diff, 3)} секунд, чтобы я закрыл глаза " \
"на это da."
elif len(last_command_time[user_id][2]) > 1 and time_diff > 5:
- last_command_time = [current_time, False, []]
+ last_command_time[user_id] = [current_time, False, []]
return "", False
elif len(last_command_time[user_id][2]) > 1:
alo = "🚫 *файл не вошёл.* хватит так быстро слать свои сообщения."