diff --git a/src/karkas_blocks/karkas_blocks/standard/spam/main.py b/src/karkas_blocks/karkas_blocks/standard/spam/main.py index 8b2e273..ab0901c 100644 --- a/src/karkas_blocks/karkas_blocks/standard/spam/main.py +++ b/src/karkas_blocks/karkas_blocks/standard/spam/main.py @@ -64,7 +64,7 @@ async def delete_spam_by_request(message: "Message", bot: "Bot"): if message.reply_to_message.from_user.id in (message.from_user.id, bot.id): return - await delete_spam(message.reply_to_message) + await delete_spam(message.reply_to_message, bot) await bot.delete_message( chat_id=message.chat.id,