diff --git a/modules/required/command/__init__.py b/modules/required/command/__init__.py index 34c03b9b..f878d527 100644 --- a/modules/required/command/__init__.py +++ b/modules/required/command/__init__.py @@ -45,7 +45,7 @@ ], decorators=[ Distribute.distribute(), - Function.require(channel.module), + Function.require(channel.module, response_administrator=True), BlackListControl.enable(), Permission.require(Permission.GROUP_ADMIN) ], @@ -110,7 +110,7 @@ async def setting(app: Ariadne, group: Group, for_group: ArgResult, for_all: Arg ], decorators=[ Distribute.distribute(), - Function.require(channel.module), + Function.require(channel.module, response_administrator=True), BlackListControl.enable(), Permission.require(Permission.SUPER_ADMIN) ], @@ -187,7 +187,7 @@ async def blacklist( ], decorators=[ Distribute.distribute(), - Function.require(channel.module), + Function.require(channel.module, response_administrator=True), BlackListControl.enable(), Permission.require(Permission.SUPER_ADMIN) ],