diff --git a/__init__.py b/__init__.py index dd4e615..517faf4 100644 --- a/__init__.py +++ b/__init__.py @@ -44,8 +44,7 @@ from neon_utils.skills import NeonSkill from ovos_utils import classproperty from ovos_utils.process_utils import RuntimeRequirements - -from mycroft.skills.mycroft_skill.decorators import intent_file_handler +from ovos_workshop.skills.decorators import intent_handler class SpeakSkill(NeonSkill): @@ -61,7 +60,7 @@ def runtime_requirements(self): no_network_fallback=True, no_gui_fallback=True) - @intent_file_handler("speak.intent") + @intent_handler("speak.intent") def speak_back(self, message): """ Repeat the utterance back to the user. diff --git a/requirements.txt b/requirements.txt index 5be8c45..5b6a742 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ neon-utils~=1.0 ovos_utils~=0.0, >=0.0.28 +ovos-workshop~=0.0.15 \ No newline at end of file diff --git a/skill.json b/skill.json index e9923b7..3ce23e0 100644 --- a/skill.json +++ b/skill.json @@ -14,6 +14,7 @@ "requirements": { "python": [ "neon-utils~=1.0", + "ovos-workshop~=0.0.15", "ovos_utils~=0.0, >=0.0.28" ], "system": {},