diff --git a/src/providers/boredom.ts b/src/providers/boredom.ts index 775e826eab2..dc9febcc032 100644 --- a/src/providers/boredom.ts +++ b/src/providers/boredom.ts @@ -251,7 +251,7 @@ const boredom: Provider = { const boredomLevel = boredomLevels .filter((level) => boredomScore >= level.minScore) - .pop(); + .pop() || boredomLevels[0]; const randomIndex = Math.floor( Math.random() * boredomLevel.statusMessages.length,