1
0
Fork 0
mirror of https://github.com/kou029w/daraz-san.git synced 2025-01-18 16:08:06 +00:00
daraz-san/app.js

14 lines
308 B
JavaScript

const { App } = require("@slack/bolt");
const daraz = require("./");
const app = daraz(
new App({
token: process.env.SLACK_BOT_TOKEN,
signingSecret: process.env.SLACK_SIGNING_SECRET
})
);
(async () => {
await app.start(process.env.PORT || 8080);
console.log("Daraz-san ⚡ running");
})();