Last active
March 5, 2018 21:12
-
-
Save mpicciolli/2982873d87f71fd64526cb19f587b7e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@nestjs/common'; | |
import * as builder from 'botbuilder'; | |
@Component() | |
export class BotConnector { | |
connector: builder.ChatConnector; | |
constructor() { | |
this.connector = new builder.ChatConnector({ | |
appId: process.env.MicrosoftAppId, | |
appPassword: process.env.MicrosoftAppPassword | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment