From ac7cc025ea7cb8edd91ec99c088e60b9bb16dac5 Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Wed, 4 Oct 2023 19:15:46 +0530 Subject: [PATCH] WiP-Fbans: proof reason fix. --- app/plugins/fbans.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/plugins/fbans.py b/app/plugins/fbans.py index 15f490d..8da29a9 100644 --- a/app/plugins/fbans.py +++ b/app/plugins/fbans.py @@ -87,7 +87,8 @@ async def fed_ban(bot: bot, message: Message): await progress.edit("❯❯") total: int = 0 failed: list[str] = [] - fban_cmd: str = f"/fban {user.mention} {reason}\n{proof_str}" + reason = f"{reason}\n{proof_str}" + fban_cmd: str = f"/fban {user.mention} {reason}" async for fed in FEDS.find(): chat_id = int(fed["_id"]) total += 1