Skip to content

Commit 7f3a3a9

Browse files
committed
update channelId prop descriptions
1 parent bdf75d6 commit 7f3a3a9

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

components/slack_bot/common/utils.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,5 @@ function buildAppProps({
9595
export default {
9696
streamIterator,
9797
buildAppProps,
98+
CONVERSATION_PERMISSION_MESSAGE,
9899
};

components/slack_bot/sources/new-direct-message/new-direct-message.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import common from "../common/base.mjs";
22
import constants from "../../common/constants.mjs";
3+
import utils from "../../common/utils.mjs";
34

45
export default {
56
...common,
@@ -22,7 +23,7 @@ export default {
2223
}),
2324
],
2425
label: "User Channel",
25-
description: "Events will only be emitted for direct messages between this user and the Bot.",
26+
description: `Events will only be emitted for direct messages between this user and the Bot. ${utils.CONVERSATION_PERMISSION_MESSAGE}`,
2627
},
2728
},
2829
methods: {

components/slack_bot/sources/new-message-in-channel/new-message-in-channel.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import common from "../common/base.mjs";
22
import constants from "../../common/constants.mjs";
3+
import utils from "../../common/utils.mjs";
34

45
export default {
56
...common,
@@ -23,6 +24,7 @@ export default {
2324
],
2425
}),
2526
],
27+
description: `Select the channel's ID. ${utils.CONVERSATION_PERMISSION_MESSAGE}`,
2628
},
2729
},
2830
methods: {

0 commit comments

Comments
 (0)