feature:1.点歌功能,2.签到功能

This commit is contained in:
liuwei
2025-03-05 09:28:25 +08:00
parent 9a3d944c8b
commit 835e97d677
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ class BotMusic:
return
# 如果触发了指令,但是没有权限,则返回权限不足
if self.gbm.get_group_permission(message.roomid, Feature.TASK_GAME) == PermissionStatus.DISABLED:
if self.gbm.get_group_permission(message.roomid, Feature.MUSIC) == PermissionStatus.DISABLED:
return
song_name = content[len(command[0]):].strip()

View File

@@ -32,6 +32,7 @@ class Feature(Enum):
PIC = 8, "图来能力"
TASK_GAME = 9, "百科答题游戏"
MUSIC = 10, "点歌功能"
SIGNIN = 11, "签到功能"
def __new__(cls, value, description):
obj = object.__new__(cls)