diff options
Diffstat (limited to 'packages/slack/src')
| -rw-r--r-- | packages/slack/src/index.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/slack/src/index.ts b/packages/slack/src/index.ts index 046f069e2..d07e3dfb4 100644 --- a/packages/slack/src/index.ts +++ b/packages/slack/src/index.ts @@ -81,7 +81,10 @@ app.message(async ({ message, say }) => { if (createResult.error) { console.error("❌ Failed to create session:", createResult.error) - await say({ text: "Sorry, I had trouble creating a session. Please try again.", thread_ts: thread }) + await say({ + text: "Sorry, I had trouble creating a session. Please try again.", + thread_ts: thread, + }) return } @@ -108,7 +111,10 @@ app.message(async ({ message, say }) => { if (result.error) { console.error("❌ Failed to send message:", result.error) - await say({ text: "Sorry, I had trouble processing your message. Please try again.", thread_ts: thread }) + await say({ + text: "Sorry, I had trouble processing your message. Please try again.", + thread_ts: thread, + }) return } |
