From 21d87c769afddc9aea632306a0947afa305657b4 Mon Sep 17 00:00:00 2001 From: Precious Abubakar Date: Thu, 12 Dec 2024 03:32:25 +0100 Subject: [PATCH] Added meeting notes (#122) --- app.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app.js b/app.js index 6d67ee5..b73740b 100644 --- a/app.js +++ b/app.js @@ -125,6 +125,19 @@ app.message(/outreachy/i, async ({ message, say, logger }) => { outreachyPrompt.outreachyMessage(message, say, logger); }); + +// Sends CHAOSS Meeting Notes Link +const meetingNotesLink = process.env.MEETING_NOTES_LINK; + +app.message(/(meeting|meeting notes)/i, async ({ message, say }) => { + if (!meetingNotesLink) { + await say("The meeting notes link is currently unavailable."); + } else { + await say(`Here is the link to the meeting notes: <${meetingNotesLink}>`); + } +}); + + // *******************************DIRECT MESSAGE - ONE TIME ANNOUNCEMENT************/ /* let usersStore = {};