Skip to content

Commit

Permalink
removed vacation message
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Oct 28, 2024
1 parent 0cb4504 commit 3493bc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ 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!");
const answer = await getAnswerFromOpenAIAssistant(message, "");
const role = thread.guild.roles.cache.find((role) => role.name === "Glific Support");
thread.send(answer);
Expand Down
4 changes: 0 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,6 @@ client.on("threadCreate", async (thread) => {

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!"
);

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

0 comments on commit 3493bc7

Please sign in to comment.