diff --git a/bot/modules/cancel_mirror.py b/bot/modules/cancel_mirror.py index 62c505c..68d5334 100644 --- a/bot/modules/cancel_mirror.py +++ b/bot/modules/cancel_mirror.py @@ -44,6 +44,6 @@ def cancel_all(update, context): cancel_mirror_handler = CommandHandler(BotCommands.CancelMirror, cancel_mirror, filters=CustomFilters.authorized_chat | CustomFilters.authorized_user) cancel_all_handler = CommandHandler(BotCommands.CancelAllCommand, cancel_all, - filters=CustomFilters.authorized_user | CustomFilters.authorized_chat) + filters=CustomFilters.owner_filter) dispatcher.add_handler(cancel_all_handler) dispatcher.add_handler(cancel_mirror_handler)