WiP-Fbans: fbanp add missing return.

This commit is contained in:
thedragonsinn
2023-10-04 19:23:48 +05:30
parent ac7cc025ea
commit c9b23b982f

View File

@@ -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, " }"])