diff --git a/components/slack_bot/common/utils.mjs b/components/slack_bot/common/utils.mjs index b17d8f0fd760f..abcb6846f8830 100644 --- a/components/slack_bot/common/utils.mjs +++ b/components/slack_bot/common/utils.mjs @@ -95,4 +95,5 @@ function buildAppProps({ export default { streamIterator, buildAppProps, + CONVERSATION_PERMISSION_MESSAGE, }; diff --git a/components/slack_bot/sources/new-direct-message/new-direct-message.mjs b/components/slack_bot/sources/new-direct-message/new-direct-message.mjs index 0226feb1814ad..866dacb30d375 100644 --- a/components/slack_bot/sources/new-direct-message/new-direct-message.mjs +++ b/components/slack_bot/sources/new-direct-message/new-direct-message.mjs @@ -1,5 +1,6 @@ import common from "../common/base.mjs"; import constants from "../../common/constants.mjs"; +import utils from "../../common/utils.mjs"; export default { ...common, @@ -22,7 +23,7 @@ export default { }), ], label: "User Channel", - description: "Events will only be emitted for direct messages between this user and the Bot.", + description: `Events will only be emitted for direct messages between this user and the Bot. ${utils.CONVERSATION_PERMISSION_MESSAGE}`, }, }, methods: { diff --git a/components/slack_bot/sources/new-message-in-channel/new-message-in-channel.mjs b/components/slack_bot/sources/new-message-in-channel/new-message-in-channel.mjs index 59a188bd812ba..c08ae2aa5c953 100644 --- a/components/slack_bot/sources/new-message-in-channel/new-message-in-channel.mjs +++ b/components/slack_bot/sources/new-message-in-channel/new-message-in-channel.mjs @@ -1,5 +1,6 @@ import common from "../common/base.mjs"; import constants from "../../common/constants.mjs"; +import utils from "../../common/utils.mjs"; export default { ...common, @@ -23,6 +24,7 @@ export default { ], }), ], + description: `Select the channel's ID. ${utils.CONVERSATION_PERMISSION_MESSAGE}`, }, }, methods: {