Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 4651e14

Browse files
author
Ben Brown
authored
Update readme-teams.md
1 parent 54a9d58 commit 4651e14

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

docs/readme-teams.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Getting these elements in place is a multi-step process, but only takes a few mi
3232
The fastest way to get up and running with Botkit for Microsoft Teams is to use [Botkit Studio](https://studio.botkit.ai/signup?code=teams).
3333
Botkit Studio will guide you through the process of setting up the [Botkit Starter Kit for Microsoft Teams](https://github.com/howdyai/botkit-starter-teams), walk you through the process of configuring the Microsoft Teams and Bot Framework APIs, and deploy your bot to a stable hosting environment so that you can start building right away.
3434

35-
**[![Sign up for Botkit Studio](docs/studio.png)](https://studio.botkit.ai/signup?code=readme)**
35+
**[![Sign up for Botkit Studio](studio.png)](https://studio.botkit.ai/signup?code=readme)**
3636

3737
### Manual Setup: Get the Starter Kit
3838

@@ -66,7 +66,7 @@ An example of this can be seen [in the starter kit](https://github.com/howdyai/b
6666

6767
The full code for a simple Microsoft Teams bot is below:
6868

69-
~~~ javascript
69+
```javascript
7070
var Botkit = require('botkit');
7171

7272
var controller = Botkit.teamsbot({
@@ -91,8 +91,7 @@ controller.on('direct_mention', function(bot, message) {
9191
controller.on('direct_message', function(bot, message) {
9292
bot.reply(message, 'I got your private message. You said, "' + message.text + '"');
9393
});
94-
~~~
95-
94+
```
9695

9796
#### App Package / Manifest File
9897

@@ -122,14 +121,14 @@ Here is a [COMPLETE SAMPLE](../examples/teams/manifest.json)
122121

123122
This function creates a Teams-ready Botkit controller. The values for clientId and clientSecret must be acquired from [Bot Framework](http://dev.botframework.com).
124123

125-
~~~ javascript
124+
```javascript
126125
var controller = Botkit.teamsbot({
127126
debug: true,
128127
log: true,
129128
clientId: process.env.clientId,
130129
clientSecret: process.env.clientSecret
131130
});
132-
~~~
131+
```
133132

134133
#### controller.spawn()
135134
| Argument | Description

0 commit comments

Comments
 (0)