diff --git a/bot/helper/ext_utils/bot_utils.py b/bot/helper/ext_utils/bot_utils.py index d75ba33fa26..84716a70159 100644 --- a/bot/helper/ext_utils/bot_utils.py +++ b/bot/helper/ext_utils/bot_utils.py @@ -17,8 +17,8 @@ class MirrorStatus: STATUS_UPLOADING = "Uploading...📤" STATUS_DOWNLOADING = "Downloading...📥" STATUS_WAITING = "Queued...📝" - STATUS_FAILED = "Failed 🚫. Cleaning Download..." - STATUS_CANCELLED = "Cancelled ❌. Cleaning Download..." + STATUS_FAILED = "Failed 🚫. Cleaning download" + STATUS_CANCELLED = "Cancelled...❌" STATUS_ARCHIVING = "Archiving...🔐" STATUS_EXTRACTING = "Extracting...📂" diff --git a/bot/modules/cancel_mirror.py b/bot/modules/cancel_mirror.py index 0c1f803fda6..a4d2d741558 100644 --- a/bot/modules/cancel_mirror.py +++ b/bot/modules/cancel_mirror.py @@ -30,8 +30,8 @@ def cancel_mirror(update, context): dl = download_dict[mirror_message.message_id] if len(args) == 1: if mirror_message is None or mirror_message.message_id not in keys: - if BotCommands.MirrorCommand in update.message.text or \ - BotCommands.TarMirrorCommand in update.message.text: + if BotCommands.MirrorCommand in mirror_message.text or \ + BotCommands.TarMirrorCommand in mirror_message.text: msg = "Mirror already have been cancelled" sendMessage(msg, context.bot, update) return