From a23150a214208c974cc3d007f71e612b861276cf Mon Sep 17 00:00:00 2001 From: Mara Martini Date: Fri, 3 Nov 2023 13:14:25 +0100 Subject: [PATCH] =?UTF-8?q?app.start=20effac=C3=A9=20car=20hellowolrd=20no?= =?UTF-8?q?n=20utilis=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bots/attendance/attendanceV2.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bots/attendance/attendanceV2.js b/bots/attendance/attendanceV2.js index e287fb5..d5d1ab3 100644 --- a/bots/attendance/attendanceV2.js +++ b/bots/attendance/attendanceV2.js @@ -1,8 +1,6 @@ const { App } = require('@slack/bolt'); require('dotenv').config(); -const handleAppHomeOpened = require('./helloWorld'); - const app = new App({ token: process.env.SLACK_BOT_TOKEN, signingSecret: process.env.SLACK_SIGNING_SECRET, @@ -11,10 +9,6 @@ const app = new App({ app.start(process.env.PORT || 3000); const currentMessage = null; -// Event to handle 'app_home_opened' using the imported function -app.event('app_home_opened', async ({ event, say }) => { - handleAppHomeOpened({ event, say, app, currentMessage }); -}); const userAttendances = []; const emojiResponse = []; const weekResponse = [];