You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/building-an-app.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ There are three main token types available to a Slack app: user (`xoxp`), bot (`
40
40
41
41
We're going to use bot and app-level tokens for this guide.
42
42
43
-
1. Navigate to the **OAuth & Permissions** on the left sidebar and scroll down to the **Bot Token Scopes** section. Click **Add an OAuth Scope**.
43
+
1. Navigate to **OAuth & Permissions** on the left sidebar and scroll down to the **Bot Token Scopes** section. Click **Add an OAuth Scope**.
44
44
45
45
2. For now, we'll just add one scope: [`chat:write`](https://docs.slack.dev/reference/scopes/chat.write). This grants your app the permission to post messages in channels it's a member of.
46
46
@@ -363,7 +363,7 @@ if __name__ == "__main__":
363
363
364
364
The value inside of `say()` is now an object that contains an array of `blocks`. Blocks are the building components of a Slack message and can range from text to images to datepickers. In this case, your app will respond with a section block that includes a button as an accessory. Since we're using `blocks`, the `text` is a fallback for notifications and accessibility.
365
365
366
-
You'll notice in the button `accessory` object, there is an `action_id`. This will act as a unique identifier for the button so your app can specify what action it wants to respond to.
366
+
You'll notice in the button `accessory` object, there is an `action_id`. This will act as a unique identifier for the button so your app can specify which action it wants to respond to.
367
367
368
368
:::tip[Using Block Kit Builder]
369
369
@@ -373,7 +373,7 @@ The [Block Kit Builder](https://app.slack.com/block-kit-builder) is an simple wa
373
373
374
374
Now, if you restart your app and say "hello" in a channel your app is in, you'll see a message with a button. But if you click the button, nothing happens (_yet!_).
375
375
376
-
Let's add a handler to send a followup message when someone clicks the button:
376
+
Let's add a handler to send a follow-up message when someone clicks the button:
Copy file name to clipboardExpand all lines: docs/content/getting-started.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ This quickstart guide aims to help you get a Slack app using Bolt for Python up
10
10
import Tabs from '@theme/Tabs';
11
11
import TabItem from '@theme/TabItem';
12
12
13
-
When complete, you'll have a local environment configured with a customized [app](https://github.com/slackapi/bolt-python/tree/main/examples/getting_started) running to modify and make your own.
13
+
When complete, you'll have a local environment configured with a customized [app](https://github.com/slack-samples/bolt-python-getting-started-app) running to modify and make your own.
14
14
15
15
:::tip[Reference for readers]
16
16
@@ -20,7 +20,9 @@ In search of the complete guide to building an app from scratch? Check out the [
20
20
21
21
#### Prerequisites
22
22
23
-
A few tools are needed for the following steps. We recommend using the [**Slack CLI**](https://tools.slack.dev/slack-cli/) for the smoothest experience, but other options remain available.
23
+
A few tools are needed for the following steps. We recommend using the [**Slack CLI**](https://tools.slack.dev/slack-cli/) for the smoothest experience, but other options remain available.
24
+
25
+
You can also begin by installing git and downloading the latest stable version of Python. Refer to [Python's setup and building guide](https://devguide.python.org/getting-started/setup-building/) for more details.
24
26
25
27
Install the latest version of the Slack CLI to get started:
0 commit comments