We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d0980 commit c9137e4Copy full SHA for c9137e4
.env.example
@@ -1,3 +1,4 @@
1
SLACK_TOKEN=xoxb-
2
SLACK_CHANNEL=C0815508A59
3
-SLACK_SIGNING_SECRET=
+SLACK_SIGNING_SECRET=
4
+SLACKUS_URL=
src/index.ts
@@ -12,6 +12,9 @@ const db = new JSONdb("./db.json");
12
app.db = db;
13
14
loadEvents(app);
15
+setInterval(() => {
16
+fetch(process.env.SLACKUS_URL)
17
+}, 2.5 * 1000)
18
19
app.start(process.env.PORT || process.env.SERVER_PORT || 3000);
20
console.log(`Started on port ${process.env.PORT || process.env.SERVER_PORT || 3000}`);
0 commit comments