Ejemplo n.º 1
0
 def run(self, dispatcher: CollectingDispatcher, tracker: Tracker,
         domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
     webinarname = (getWebinarDetailsFromMongo()['name'])
     webinardate = (getWebinarDetailsFromMongo()['datetime'])
     webinarduration = (getWebinarDetailsFromMongo()['duration'])
     webinarinstructor = (getWebinarDetailsFromMongo()['instructor'])
     webinarlink = (getWebinarDetailsFromMongo()['registraion_link'])
     dispatcher.utter_message(template="utter_webinar_details",
                              webinarname=webinarname,
                              webinardate=webinardate,
                              webinarduration=webinarduration,
                              webinarinstructor=webinarinstructor,
                              webinarlink=webinarlink)
     return []
Ejemplo n.º 2
0
    def run(self, dispatcher: CollectingDispatcher, tracker: Tracker,
            domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
        webinarname = (getWebinarDetailsFromMongo()['name'])
        dispatcher.utter_message(template="utter_webinar_name",
                                 webinarname=webinarname)

        return []
Ejemplo n.º 3
0
 def run(self, dispatcher: CollectingDispatcher, tracker: Tracker,
         domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
     webinarlink = (getWebinarDetailsFromMongo()['registraion_link'])
     dispatcher.utter_message(template="utter_webinar_registration",
                              webinarlink=webinarlink)
     return []
Ejemplo n.º 4
0
 def run(self, dispatcher: CollectingDispatcher, tracker: Tracker,
         domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
     webinarinstructor = (getWebinarDetailsFromMongo()['instructor'])
     dispatcher.utter_message(template="utter_webinar_instructor",
                              webinarinstructor=webinarinstructor)
     return []
Ejemplo n.º 5
0
 def run(self, dispatcher: CollectingDispatcher, tracker: Tracker,
         domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
     webinarparticipants = (getWebinarDetailsFromMongo()['participants'])
     dispatcher.utter_message(template="utter_webinar_participants",
                              webinarparticipants=webinarparticipants)
     return []