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
2020-04-09 00:16:46 +09:00

14 lines
309 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");
})();