темп бан да 3
This commit is contained in:
1 parent
ff4b586463
commit
53afac9852
1 file changed
+2
-2
+2
-2
@@ -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"✅ хамха забенен")
|
||||
|
||||
|
||||
Reference in new issue
Block a user