Skip to content

Commit

Permalink
fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama86 committed Aug 27, 2024
1 parent 5e703de commit 80ad73f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/mention.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ describe('appMention', () => {
text: 'GPTの回答'
}
}
]
],
text: 'GPTの回答',
thread_ts: 'test_ts'
})
})

Expand Down Expand Up @@ -133,7 +135,9 @@ describe('appMention', () => {
text: 'サマリの内容'
}
}
]
],
text: 'GPTの回答',
thread_ts: 'test_ts'
})
})
})
2 changes: 2 additions & 0 deletions src/mention.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ export const appMention: any = async ({ event, client, say }) => {
}

await say({
thread_ts: event.ts,
text: 'GPTの回答',
blocks: [
{
type: 'section',
Expand Down

0 comments on commit 80ad73f

Please sign in to comment.