diff --git a/mycroft/skills/intent_service.py b/mycroft/skills/intent_service.py index fdbea51a513e..26a1f13f9aaa 100644 --- a/mycroft/skills/intent_service.py +++ b/mycroft/skills/intent_service.py @@ -144,6 +144,16 @@ def get_skill_name(self, skill_id): """ return skill_id + @deprecated("use 'skillmanager.list' -> 'mycroft.skills.list' instead " + "this handler is not connected to bus events, subclassing it has no effect", "0.0.8") + def handle_get_skills(self, message): + """Send registered skills to caller. + + Argument: + message: query message to reply to. + """ + self.bus.emit(message.reply("intent.service.skills.reply", {"skills": []})) + @deprecated("handle_register_intent moved to AdaptService, overriding this method has no effect, " "it has been disconnected from the bus event", "0.0.8") def handle_register_vocab(self, message): diff --git a/ovos_core/intent_services/__init__.py b/ovos_core/intent_services/__init__.py index 96ec124a13da..57a711cdd8f1 100644 --- a/ovos_core/intent_services/__init__.py +++ b/ovos_core/intent_services/__init__.py @@ -44,7 +44,6 @@ def __init__(self, bus): # Intents API self.bus.on('intent.service.intent.get', self.handle_get_intent) - self.bus.on('intent.service.skills.get', self.handle_get_skills) # Pipeline API self.bus.on('recognizer_loop:utterance', self.handle_utterance) @@ -115,18 +114,6 @@ def pipeline_matchers(self): return matchers # service implementation - @deprecated("skill manifest moved to SkillManager, " - "this handler is not connected to bus events, subclassing it has no effect") - def handle_get_skills(self, message): - """Send registered skills to caller. - - Argument: - message: query message to reply to. - """ - # TODO - move this to SkillManager - self.bus.emit(message.reply("intent.service.skills.reply", - {"skills": []})) - def _handle_transformers(self, message): """ Pipe utterance through transformer plugins to get more metadata.