From c263056c26988c1920721118dfa184fdd3c9ae9d Mon Sep 17 00:00:00 2001 From: Hafitz Setya Date: Sun, 1 Aug 2021 10:47:12 +0700 Subject: [PATCH] Revert --- bot/modules/mirror.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bot/modules/mirror.py b/bot/modules/mirror.py index 3cd8c74..d191b56 100644 --- a/bot/modules/mirror.py +++ b/bot/modules/mirror.py @@ -274,10 +274,6 @@ def _mirror(bot, update, isTar=False, extract=False): file = i break - reply_text = reply_to.text.split('\n')[0] - if bot_utils.is_magnet(reply_text): - link = reply_text - if not bot_utils.is_url(link) and not bot_utils.is_magnet(link) or len(link) == 0: if file is not None: if file.mime_type != "application/x-bittorrent":