From fa6548ea5fc05d9df88cc52fb6ab06cccfe75518 Mon Sep 17 00:00:00 2001 From: DonaldKLee Date: Mon, 21 Oct 2024 10:46:49 -0700 Subject: [PATCH] fix pairings --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 55a0bf7..bf06d9f 100644 --- a/index.js +++ b/index.js @@ -822,10 +822,10 @@ const pairMembers = async (staticArray, dynamicArray) => { const matchingString = formatUserIds(matching); - // createGroupChatAndSendMessage( - // matchingString, - // "Hello :wave: you're on a donut ( ͡° ͜ʖ ͡°)!", - // ); + createGroupChatAndSendMessage( + matchingString, + "Hello :wave: you're on a donut ( ͡° ͜ʖ ͡°)!", + ); } return [staticArray, updatedDynamicArray]; } catch (error) { @@ -1040,7 +1040,7 @@ const timeForDonutScheduler = async () => { // runs interval to schedule donuts and update variables // change this to 30 later, only need to run this every 30mins, not 0.2mins -const minutes = 2, +const minutes = 30, the_interval = minutes * 60 * 1000; setInterval(function () { // Check if donuts should be sent