From fad9229ef7166c79fb6b1912dfaa59d4d1fc43c9 Mon Sep 17 00:00:00 2001 From: AkashRajpurohit Date: Tue, 12 Nov 2024 12:45:31 +0530 Subject: [PATCH] feat: :sparkles: add context message to slack response --- src/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.ts b/src/index.ts index d8cff0e..f4b2b3c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -65,6 +65,15 @@ app.post('/slack/giffy', async (c) => { image_url: url, alt_text: text, }, + { + type: 'context', + elements: [ + { + type: 'mrkdwn', + text: 'Posted using /giffy', + }, + ], + }, ], }), });