Skip to content

Commit d7bf0eb

Browse files
committed
discord token
1 parent 5f50eea commit d7bf0eb

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

docs/labs/stage1-2-camel/walkthrough.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ slack.token=YOUR_TOKEN
428428
+
429429
{empty} +
430430
+
431-
Obtain the _Slack_ token with 1 of these 3 options:
431+
Obtain the _Slack_ token with 1 of these 3 options, and replate `YOUR_TOKEN`:
432432
+
433433
* *Option 1*: Try the link below:
434434
+

docs/labs/stage1-2-kubernetes/walkthrough.adoc

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
:walkthrough: Gitter to Slack bridge ()
22
:user-password: openshift
33
:namespace: {user-username}
4+
:invite-url: http://invite-webapp.{openshift-app-host}
45

56
ifdef::env-github[]
67
endif::[]
@@ -558,8 +559,21 @@ slack.token=YOUR_TOKEN
558559
+
559560
{empty} +
560561
+
561-
* If you're sharing an App with the group, use the App's token your admin has provided.
562-
* If you created your own App, use your App's `Bot User OAuth Token`
562+
Obtain the _Slack_ token with 1 of these 3 options, and replace `YOUR_TOKEN`:
563+
+
564+
* *Option 1*: Try the link below:
565+
+
566+
--
567+
WARNING: The link may fail if the cluster did not enable token resolution. +
568+
If it fails, choose [*Option 2*] or [*Option 3*].
569+
--
570+
+
571+
- link:{invite-url}/token/slack[Obtain _Slack_ token,window="_blank"]
572+
+
573+
{empty} +
574+
575+
* *Option 2*: if you're sharing an App with the group, use the App's token your admin has provided.
576+
* *Option 3*: if you created your own App, use your App's `Bot User OAuth Token`
563577
+
564578
{empty} +
565579
.. Update your _Secret_ by running:

docs/labs/stage4/walkthrough.adoc

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -442,11 +442,27 @@ channel=YOUR_ROOM_ID
442442

443443
Ensure you configure with your _Discord_ values, and save changes.
444444

445-
- `token`
446-
* If you're sharing an App with the group, use the App's token your admin has provided.
447-
* If you created your own App, use your App's Bot token.
445+
- token
446+
+
447+
Obtain the _Discord_ token with 1 of these 3 options, and replace `YOUR_TOKEN`:
448+
449+
** *Option 1*: Try the link below:
450+
+
451+
452+
WARNING: The link may fail if the cluster did not enable token resolution. +
453+
If it fails, choose [*Option 2*] or [*Option 3*].
454+
455+
*** link:{invite-url}/token/discord[Obtain _Discord_ token,window="_blank"]
456+
+
457+
{empty} +
458+
459+
** *Option 2*: if you're sharing an App with the group, use the App's token your admin has provided.
460+
** *Option 3*: if you created your own App, use your App's `Bot User OAuth Token`
461+
462+
{empty} +
463+
448464

449-
- `channel` +
465+
* `channel` +
450466
You can find the channel id in the address bar of your _Discord_ browser tab. The pattern is:
451467
+
452468
* http://discord.com/channels/SERVER_ID/CHANNEL_ID

0 commit comments

Comments
 (0)