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
{{ message }}
This repository was archived by the owner on Dec 9, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+13-5
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,17 @@
1
1
# run-on-slack-deepl
2
2
3
-
This sample app is a translator app that runs [DeepL's awesome APIs](https://www.deepl.com/en/docs-api) for translating Slack message text into a different language.
3
+
This sample app is a translator app that runs
4
+
[DeepL's awesome APIs](https://www.deepl.com/en/docs-api) for translating Slack
5
+
message text into a different language.
4
6
5
7
## Steps to enable this app
6
8
7
9
### 0. Enable the next-gen platform in your workspace
8
10
9
-
To use this sample, you first need to install and configure the Slack CLI. Step-by-step instructions can be found in [Quickstart Guide](https://api.slack.com/future/quickstart). Also, the beta platform needs to be enabled for your paid Slack workspace.
11
+
To use this sample, you first need to install and configure the Slack CLI.
12
+
Step-by-step instructions can be found in
13
+
[Quickstart Guide](https://api.slack.com/future/quickstart). Also, the beta
14
+
platform needs to be enabled for your paid Slack workspace.
10
15
11
16
And then, you can use this GitHub repository as the template for your app.
12
17
@@ -17,7 +22,9 @@ cd my-deepl-slack-app/
17
22
18
23
### 1. Enable reaction_added trigger
19
24
20
-
First off, open `triggers/reaction_added.ts` source file and modify it to have a valid list of channel IDs to enable this app. And then, run the following CLI command:
25
+
First off, open `triggers/reaction_added.ts` source file and modify it to have a
26
+
valid list of channel IDs to enable this app. And then, run the following CLI
27
+
command:
21
28
22
29
```bash
23
30
slack deploy
@@ -38,10 +45,11 @@ Add the deployed app to the channels you've listed in the step 1.
38
45
39
46
### 4. Add a reaction to a message in the channel
40
47
41
-
Add `:jp:` reaction to any message in the channel. If everything is fine, you will see the same content that is translated into Japanese in its thread.
48
+
Add `:jp:` reaction to any message in the channel. If everything is fine, you
49
+
will see the same content that is translated into Japanese in its thread.
0 commit comments