Skip to content

Commit 18f6c8f

Browse files
committed
fix: text issue
1 parent 881dd4d commit 18f6c8f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43657,6 +43657,7 @@ async function postMessage(blocks) {
4365743657
const res = await exports.slackClient.chat.postMessage({
4365843658
channel: slackChannel,
4365943659
blocks,
43660+
text: "pr open message",
4366043661
});
4366143662
return res.ts;
4366243663
}
@@ -43680,6 +43681,7 @@ async function postThreadMessage(ts, text) {
4368043681
channel: slackChannel,
4368143682
blocks: parseTextToBlocks(text),
4368243683
thread_ts: ts,
43684+
text: "post thread message",
4368343685
});
4368443686
}
4368543687
async function addReaction(ts, emoji) {

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/slack.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export async function postMessage(blocks: any) {
2525
const res = await slackClient.chat.postMessage({
2626
channel: slackChannel,
2727
blocks,
28+
text: "pr open message",
2829
});
2930
return res.ts;
3031
}
@@ -51,6 +52,7 @@ export async function postThreadMessage(ts: string, text: string) {
5152
channel: slackChannel,
5253
blocks: parseTextToBlocks(text),
5354
thread_ts: ts,
55+
text: "post thread message",
5456
});
5557
}
5658

0 commit comments

Comments
 (0)