| 12345678910111213141516171819202122232425262728293031323334 |
- import logging
- import audio_output
- import console
- import slack_bot
- SERVICES = [
- #audio_output.AudioOutput(),
- console.Console(),
- slack_bot.SlackBot(),
- ]
- def success():
- for service in SERVICES:
- service.success()
- def failure(s=None):
- for service in SERVICES:
- service.failure(s)
- def cancelled():
- for service in SERVICES:
- service.cancelled()
- def tts(s):
- for service in SERVICES:
- service.tts(s)
- def text(s):
- for service in SERVICES:
- service.text(s)
- def debug(s):
- for service in SERVICES:
- service.debug(s)
|