From 17d2ca8f7606aaf40d4200eed3e5543e232c212b Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Mon, 18 Jul 2022 21:57:57 -0400 Subject: [PATCH] Attempt to fix breakout overloading --- src/interactions/trigger/updateBreakouts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interactions/trigger/updateBreakouts.js b/src/interactions/trigger/updateBreakouts.js index 613220b..1453201 100644 --- a/src/interactions/trigger/updateBreakouts.js +++ b/src/interactions/trigger/updateBreakouts.js @@ -27,7 +27,7 @@ export default async (bot = initBot(), message) => { // we should close the channel if the last post was @orpheus' warning that archiving is coming if ( overTimeLimit && - latestTimestamp == breakout.fields['Archive Warning Timestamp'] + latestTimestamp == breakout?.fields['Archive Warning Timestamp'] ) { bot.replyInThread( message,