From fd918271e554877a7c83e35a086f8b0c74b398c9 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 10 Mar 2025 10:03:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=82=8C=E8=82=89=E7=94=B7=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- group_video_man/bot_video_man.py | 2 +- robot_cmd/robot_command.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/group_video_man/bot_video_man.py b/group_video_man/bot_video_man.py index 74c98df..1a306cd 100644 --- a/group_video_man/bot_video_man.py +++ b/group_video_man/bot_video_man.py @@ -32,7 +32,7 @@ class BotVideoMan: return # 如果触发了指令,但是没有权限,则返回权限不足 - if self.gbm.get_group_permission(message.roomid, Feature.VIDEO) == PermissionStatus.DISABLED: + if self.gbm.get_group_permission(message.roomid, Feature.VIDEO_MAN) == PermissionStatus.DISABLED: return try: diff --git a/robot_cmd/robot_command.py b/robot_cmd/robot_command.py index b7431a3..b779439 100644 --- a/robot_cmd/robot_command.py +++ b/robot_cmd/robot_command.py @@ -36,6 +36,7 @@ class Feature(Enum): POINT_TRADE = 12, "积分赠送功能" BEAUTY_LEG = 13, "腿来能力" VIDEO = 14, "视频点播功能" + VIDEO_MAN = 15, "视频肌肉男点播功能" def __new__(cls, value, description): obj = object.__new__(cls)