| 123456789101112131415161718 |
- # -*- coding: utf-8 -*-
- from hermes_python.ontology import *
- from hermes_python.hermes import Hermes
- from hermes_python.ontology import MqttOptions
- from xiSnipsTools import Personality
- import datetime
- import Action_Base
- @Action_Base.Snips("Guten_Morgen","goodMorning")
- class Action_Guten_Morgen(Action_Base.Action_Base):
- def beforeGetMessage(self,intent_message):
- if intent_message is not None:
- self.common.modState("angry", -30)
- self.common.modState("happyness", 40)
- self.common.modState("depresive", -30)
- return True
|