File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,19 @@ const connector = new builder.ChatConnector({
23
23
const bot = new builder . UniversalBot ( connector ) ;
24
24
25
25
//Bloco de Diálogos
26
- bot . dialog ( '/' ) , [
27
- ( session ) => {
28
- builder . Prompts . text ( session , ' Olá! Tudo bem?' ) ;
29
- } ,
30
-
31
- ( session ) => {
32
- builder . Prompts . text ( session , ' Como você se chama?' ) ;
33
- } ,
34
-
35
- ( session , results ) => {
36
- let msg = results . response ;
37
- session . send ( `Oi ${ msg } ! Em que posso ajudar?` ) ;
38
- }
26
+ bot . dialog ( '/' , [
27
+ session => {
28
+ builder . Prompts . text ( session , " Olá! Tudo bem?" ) ;
29
+ } ,
30
+
31
+ session => {
32
+ builder . Prompts . text ( session , " Como você se chama?" ) ;
33
+ } ,
34
+
35
+ ( session , results ) => {
36
+ let msg = results . response ;
37
+ session . send ( `Oi ${ msg } ! Em que posso ajudar?` ) ;
38
+ }
39
39
] ) ;
40
40
41
41
//Endpoint para executar as mensagens para o usuário:
You can’t perform that action at this time.
0 commit comments