Co-authored-by: Anas <anasty17@users.noreply.github.com>
This commit is contained in:
Hafitz Setya 2021-04-29 04:48:33 +07:00 committed by GitHub
parent 07aea286ad
commit 21857aaaaa
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,9 @@ def cancel_mirror(update, context):
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:
msg = "Mirror already have been cancelled"
BotCommands.TarMirrorCommand in update.message.text or \
BotCommands.UnzipMirrorCommand in update.message.text:
msg = "Mirror Already Have Been Cancelled"
sendMessage(msg, context.bot, update)
return
else: