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 1561cf6 commit e450d88Copy full SHA for e450d88
howtos/how-to-set-an-away-message/server.js
@@ -9,7 +9,8 @@ const basePath = "https://api.talkjs.com";
9
const app = express().use(express.json()); // creates http server
10
app.listen(3000, () => console.log("Server is up"));
11
12
-const autoReplied = {};
+// Track when we auto-replied to each conversation ID so we don't send multiple replies in a row
13
+const alreadyReplied = {};
14
15
// Start and end of support hours in "HH:mm:ss" format
16
const startTime = "09:00:00";
0 commit comments