From 47edb3a40fe084aa7f83f8f8433d603ff17e93b6 Mon Sep 17 00:00:00 2001 From: Sam <25792361+sam01101@users.noreply.github.com> Date: Sat, 5 Feb 2022 22:50:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20backup=20and=20recovery=20?= =?UTF-8?q?command=20not=20working?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagermaid/modules/backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pagermaid/modules/backup.py b/pagermaid/modules/backup.py index 59effcb..5f5ed37 100644 --- a/pagermaid/modules/backup.py +++ b/pagermaid/modules/backup.py @@ -43,7 +43,7 @@ def un_tar_gz(filename, dirs): return False -@listener(is_plugin=True, outgoing=True, owners_only=True, command=alias_command("backup"), +@listener(is_plugin=True, outgoing=True, command=alias_command("backup"), description=lang('back_des')) async def backup(context): await context.edit(lang('backup_process')) @@ -78,7 +78,7 @@ async def backup(context): await context.edit(lang("backup_success")) -@listener(is_plugin=True, outgoing=True, owners_only=True, command=alias_command("recovery"), +@listener(is_plugin=True, outgoing=True, command=alias_command("recovery"), description=lang('recovery_des')) async def recovery(context): message = await context.get_reply_message()