From b2613c25a4c5fc8afd8c718d5c20515cf2c1a04d Mon Sep 17 00:00:00 2001 From: profitroll Date: Tue, 3 Jan 2023 13:02:27 +0100 Subject: [PATCH] /label can now be used in admin group --- modules/commands/label.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/label.py b/modules/commands/label.py index 60763b0..4382fe2 100644 --- a/modules/commands/label.py +++ b/modules/commands/label.py @@ -6,7 +6,7 @@ from modules.utils import locale, should_quote, find_user from classes.holo_user import HoloUser, LabelTooLongError from modules import custom_filters -@app.on_message(~ filters.scheduled & filters.private & filters.command(["label"], prefixes=["/"]) & custom_filters.admin) +@app.on_message(~ filters.scheduled & filters.command(["label"], prefixes=["/"]) & custom_filters.admin) async def cmd_label(app: Client, msg: Message): if len(msg.command) < 3: