Skip to content

Commit fd78d82

Browse files
committed
Inclusão de arquivos no app.
1 parent 9b438ee commit fd78d82

File tree

3 files changed

+28
-7
lines changed

3 files changed

+28
-7
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Contributing
2+
3+
1. Fork it!
4+
2. Create your feature branch: `git checkout -b my-new-feature`
5+
3. Commit your changes: `git commit -m 'Add some feature'`
6+
4. Push to the branch: `git push origin my-new-feature`
7+
8+
*Remember that we have a pre-push hook with steps that analyzes and prevents mistakes.*
9+
10+
**After your pull request is merged**, you can safely delete your branch.

LICENSE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
The MIT License
2+
SPDX short identifier: MIT
3+
4+
Further resources on the MIT License
5+
Copyright 2018 - Glaucia Lemos
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

src/Modulo-2/conversacao.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@
66
*
77
*/
88

9-
const restify = require('restify');
10-
const builder = require('botbuilder');
9+
const restify = require("restify");
10+
const builder = require("botbuilder");
1111

1212
//Configuração do Server via restify:
1313
const server = restify.createServer();
1414
server.listen(process.env.port || process.env.PORT || 3978, () => {
15-
console.log('%s Aplicação executando na porta %s', server.name, server.url);
15+
console.log("%s Aplicação executando na porta %s", server.name, server.url);
1616
});
1717

1818
const connector = new builder.ChatConnector({
19-
appId: '',
20-
appPassword: ''
19+
appId: "",
20+
appPassword: ""
2121
});
2222

2323
//Endpoint para executar as mensagens para o usuário:
24-
server.post('api/messages', connector.listen());
24+
server.post("api/messages", connector.listen());
2525

2626
const bot = new builder.UniversalBot(connector);
2727

2828
//Bloco de Diálogos
29-
bot.dialog('/', [
29+
bot.dialog("/", [
3030
session => {
3131
builder.Prompts.text(session, "Olá! Tudo bem?");
3232
},

0 commit comments

Comments
 (0)