From c9b23b982ff770bb8160264e900298f6832ede2e Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Wed, 4 Oct 2023 19:23:48 +0530 Subject: [PATCH] WiP-Fbans: fbanp add missing return. --- app/plugins/fbans.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/plugins/fbans.py b/app/plugins/fbans.py index 8da29a9..f7d28cd 100644 --- a/app/plugins/fbans.py +++ b/app/plugins/fbans.py @@ -81,6 +81,7 @@ async def fed_ban(bot: bot, message: Message): if message.cmd == "fbanp": if not message.replied: await message.reply("Reply to a proof") + return proof = await message.replied.forward(Config.FBAN_LOG_CHANNEL) proof_str = "".join(["{ ", proof.link, " }"])