Closed MatthewScholefield closed 7 years ago
This is open for discussion, but I think it is worth importing a few classes/functions in mycroft/__init__.py so that skills can do things like:
mycroft/__init__.py
from mycroft import MycroftSkill # vs. from mycroft.skills.core import MycroftSkil class MySkill(MycroftSkill): # ...
Or:
from mycroft import FallbackSkill, play_wav class MediaFallback(FallbackSkill): def handle_fallback(self, message): # ... play_wav('my_song.wav') # ...
I think this is an excellent idea!
Message is another class that's dreadfully long to include if one wants to use:
Message
currently
from mycroft.messagebus.message import Message
This is open for discussion, but I think it is worth importing a few classes/functions in
mycroft/__init__.py
so that skills can do things like:Or: