音乐组件注册

This commit is contained in:
liuwei
2025-06-25 10:40:31 +08:00
parent e562fd281a
commit 79324adb9a

View File

@@ -47,6 +47,14 @@ class MusicPlugin(MessagePluginInterface):
def commands(self) -> List[str]:
return self._commands
@property
def feature_key(self) -> Optional[str]:
return self.FEATURE_KEY
@property
def feature_description(self) -> Optional[str]:
return self.FEATURE_DESCRIPTION
def __init__(self):
super().__init__()
self.feature = self.register_feature()