From 9be10ee6c51ecfc3d5cf776e809c2ef57f373953 Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Fri, 30 Jul 2021 12:27:42 +0200 Subject: [PATCH] Added "what's the current song" for spotify skill --- jarvis/skills/entertainement/jokes/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jarvis/skills/entertainement/jokes/__init__.py b/jarvis/skills/entertainement/jokes/__init__.py index ac1d669..52df590 100644 --- a/jarvis/skills/entertainement/jokes/__init__.py +++ b/jarvis/skills/entertainement/jokes/__init__.py @@ -39,3 +39,7 @@ class JokesSkill(Skill, metaclass=SkillRegistering): @intent_handler(IntentBuilder("JokingIntent").require("Joke")) def handle_joke(self, data): print(speak_joke()) + + +def create_skill(): + return JokesSkill()