From 8630b1d1d660fb11a08cb070a77f27c6df8e086f Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Sat, 20 Jan 2024 19:53:32 +0530 Subject: [PATCH] resp bug fix. --- app/plugins/tools/respond.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/tools/respond.py b/app/plugins/tools/respond.py index b115e06..66df771 100644 --- a/app/plugins/tools/respond.py +++ b/app/plugins/tools/respond.py @@ -18,7 +18,7 @@ async def respond(bot: BOT, message: Message): chat_id = match.group(1) text = message.input elif message.input: - chat_id, text = message.input.split(" ") + chat_id, text = message.input.split(" ", maxsplit=1) else: await message.reply("Unable to extract chat_id and text.") return