Skip to content

Commit

Permalink
app.start effacé car hellowolrd non utilisé
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara Martini committed Nov 3, 2023
1 parent d46dc15 commit a23150a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bots/attendance/attendanceV2.js
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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 = [];
Expand Down

0 comments on commit a23150a

Please sign in to comment.