fix edit mode and block
This commit is contained in:
1 parent
d8a1c615d5
commit
965a22e0c5
2 files changed
+7
No files matched your search
@@ -24,6 +24,9 @@ def is_blocked(user_id):
|
||||
alo = "🚫 *файл не вошёл.* я ещё не сгенерировал прошлое сообщение.\n" \
|
||||
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, []]
|
||||
return "", False
|
||||
elif len(last_command_time[user_id][2]) > 1:
|
||||
alo = "🚫 *файл не вошёл.* хватит так быстро слать свои сообщения."
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user