Added create_skill to spotify skill and wikipedia
This commit is contained in:
parent
9be10ee6c5
commit
572e89794a
@ -38,3 +38,7 @@ class SpotifySkill(Skill, metaclass=SkillRegistering):
|
||||
print(song_name + " from " + artist)
|
||||
|
||||
print("[INFO INTENT] - Current playback : music for Spotify")
|
||||
|
||||
|
||||
def create_skill():
|
||||
return SpotifySkill()
|
||||
|
@ -11,3 +11,7 @@ class WikipediaSkill(Skill, metaclass=SkillRegistering):
|
||||
@intent_handler(IntentBuilder("WikipediaQueryIntent").require("Wikipedia").require("ArticleTitle"))
|
||||
def handle_wikipedia_query_intent(self, data):
|
||||
print("Handle Wikipedia Query Intent Method")
|
||||
|
||||
|
||||
def create_skill():
|
||||
return WikipediaSkill()
|
||||
|
Reference in New Issue
Block a user