
const { App, Log, Util } = require('jovo-framework');
const { Jovo } = require('jovo-core');

const { GoogleAssistant } = require('jovo-platform-googleassistant');
const { Alexa } = require('jovo-platform-alexa');
const { JovoDebugger } = require('jovo-plugin-debugger');
const { FileDb } = require('jovo-db-filedb');
const { Dialogflow } = require('jovo-platform-dialogflow');

const app = new App();
Util.consoleLog();

app.use(
    new GoogleAssistant(),
    // new Dialogflow(),
    new Alexa(),
    new JovoDebugger(),
    new FileDb(),
);


app.setHandler({
    async LAUNCH() {
        this.ask('How can I help you?')

    },

    HelpIntent()  {
        this.showImageCard('Title', 'Content', 'https://www.icone-png.com/png/18/18221.png')
            .tell('Bla Bla');
    },

    HelloWorldIntent() {
        this.showImageCard('Title', 'Content', 'https://www.icone-png.com/png/18/18221.png')
            .tell('Bla Bla');
    },
    NameState: {
        GuessMovieIntent() {
            this.$user.$data.name = this.$inputs.name.value;
            this.showImageCard('Title', 'Content', 'https://www.icone-png.com/png/18/18221.png')
                .tell('Bla Bla', 'Bla Bla');



        },
    },
});


module.exports.app = app;

@@ -1,16 +1,193 @@
+'use strict';%0A%0A// ------------------------------------------------------------------%0A// APP INITIALIZATION%0A// ------------------------------------------------------------------%0A
 %0Aconst %7B App, Lo
@@ -186,19 +186,8 @@
  App
-, Log, Util
  %7D =
@@ -222,20 +222,21 @@
 const %7B 
-Jovo
+Alexa
  %7D = req
@@ -250,17 +250,26 @@
 ovo-
-core
+platform-alexa
 ');%0A
-%0A
 cons
@@ -338,58 +338,8 @@
 ');%0A
-const %7B Alexa %7D = require('jovo-platform-alexa');%0A
 cons
@@ -441,68 +441,8 @@
 b');
-%0Aconst %7B Dialogflow %7D = require('jovo-platform-dialogflow');
 %0A%0Aco
@@ -465,27 +465,8 @@
 p();
-%0AUtil.consoleLog();
 %0A%0Aap
@@ -484,65 +484,40 @@
 new 
-GoogleAssistant
+Alexa
 (),%0A   
- //
  new 
-Dialogflow(),%0A    new Alexa
+GoogleAssistant
 (),%0A
@@ -560,15 +560,168 @@
 Db()
-,
 %0A);%0A%0A%0A
+// ------------------------------------------------------------------%0A// APP LOGIC%0A// ------------------------------------------------------------------%0A%0A
 app.
@@ -741,14 +741,8 @@
     
-async 
 LAUN
@@ -760,344 +760,161 @@
     
-this.ask('How can I help you?')%0A%0A    %7D,%0A%0A    HelpIntent()  %7B%0A        this.showImageCard('Title', 'Content', 'https://www.icone-png.com/png/18/18221.png')%0A            .tell('Bla Bla');%0A    %7D,%0A%0A    HelloWorldIntent() %7B%0A        this.showImageCard('Title', 'Content', 'https://www.icone-png.com/png/18/18221.png')%0A            .tell('Bla Bla
+return this.toIntent('HelloWorldIntent');%0A    %7D,%0A%0A    HelloWorldIntent() %7B%0A        this.ask('Hello World! What%5C's your name?', 'Please tell me your name.
 ');%0A
@@ -924,43 +924,21 @@
  %7D,%0A
+%0A
     
+My
 Name
-State: %7B%0A        GuessMovie
+Is
 Inte
@@ -956,35 +956,26 @@
     
-    
 this.
-$user.$data.name =
+tell('Hey ' +
  thi
@@ -998,165 +998,34 @@
 alue
-;%0A            this.showImageCard('Title', 'Content', 'https://www.icone-png.com/png/18/18221.png')%0A                .tell('Bla Bla', 'Bla Bla');%0A%0A%0A%0A        %7D,
+ + ', nice to meet you!');
 %0A   
@@ -1033,17 +1033,16 @@
 %7D,%0A%7D);%0A%0A
-%0A
 module.e

Revert hello world example