Skip to content

Commit

Permalink
added vacation message
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Oct 18, 2024
1 parent e968f13 commit 487ef70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,11 +432,12 @@ client.on("threadCreate", async (thread) => {
const message = firstMessage?.content || "";
const author = firstMessage?.author.username || "";

thread.sendTyping();

thread.send(
"Please note that from the 19th to 27th October, our team will be engaged in an in-person sprint. During this time, responses may be slower than usual. We appreciate your patience and will get back to you as soon as possible. Thank you!"
);

thread.sendTyping();
const answer = await getAnswerFromOpenAIAssistant(message, "");
const role = thread.guild.roles.cache.find(
(role) => role.name === "Glific Support"
Expand Down

0 comments on commit 487ef70

Please sign in to comment.