From 53afac9852330e2b46a46010e269e99998b725e5 Mon Sep 17 00:00:00 2001 From: huker667 Date: Tue, 11 Aug 2026 23:11:16 +0300 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B5=D0=BC=D0=BF=20=D0=B1=D0=B0=D0=BD?= =?UTF-8?q?=20=D0=B4=D0=B0=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.py b/commands.py index ac34d1c..71570c8 100644 --- a/commands.py +++ b/commands.py @@ -143,9 +143,9 @@ async def tben_handler(message: Message, command: CommandObject): if message.from_user.id != ADMIN_ID: return args = command.args - if not args or len(args.split(" ", 2)) < 2: + if not args or " " not in args: return await message.answer("dayn eblan suka") - key, val = args.split(" ", 2)[0], args.split(" ", 2)[1] + key, val = args.split(" ", 1) temp_benned[str(key)] = val await message.answer(f"✅ хамха забенен")