MycroftAI / documentation

Mycroft.AI documentation for all public facing technical components.
https://mycroft.ai/documentation
Apache License 2.0
80 stars 90 forks source link

Change self.emitter.emit to self.bus.emit in the docs for MessageBus Types #174

Closed auwsom closed 4 years ago

auwsom commented 4 years ago

https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mycroft-core/message-types

Under the 'Generating Message from MycroftSkill' code tab. Change self.emitter.emit to self.bus.emit in the docs. Very confusing to try to get working..

Originally here: https://github.com/MycroftAI/mycroft-core/issues/2611

krisgesling commented 4 years ago

Thanks auwsom!

I've updated the method to the new self.bus.emit and extended the examples to show what needs to be imported: https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mycroft-core/message-bus#mycroftskill-interaction

auwsom commented 4 years ago

@krisgesling , thanks a ton!