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,