aboutsummaryrefslogtreecommitdiff
path: root/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'commands.py')
-rw-r--r--commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.py b/commands.py
index d50f605..c41bb45 100644
--- a/commands.py
+++ b/commands.py
@@ -331,7 +331,7 @@ async def start_handler(message: Message, command: CommandObject):
)
)
elif prompt_pub:
- if len(config["prompts"]) => MAX_PROMPTS:
+ if len(config["prompts"]) >= MAX_PROMPTS:
keyboard = InlineKeyboardMarkup(
inline_keyboard=[
[InlineKeyboardButton(text="достигнут лимит промптов", callback_data=f"hamza")],