音乐组件注册
This commit is contained in:
@@ -47,6 +47,14 @@ class MusicPlugin(MessagePluginInterface):
|
|||||||
def commands(self) -> List[str]:
|
def commands(self) -> List[str]:
|
||||||
return self._commands
|
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):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.feature = self.register_feature()
|
self.feature = self.register_feature()
|
||||||
|
|||||||
Reference in New Issue
Block a user