From 84fd85f7680494b5da84d7210b735da4e1cc5294 Mon Sep 17 00:00:00 2001 From: limepotato Date: Tue, 17 Sep 2024 21:39:19 -0600 Subject: [PATCH] um? --- .../observer/nelle/nelleObserverBackend/helpers/PostGen.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/helpers/PostGen.kt b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/helpers/PostGen.kt index 80b8bd8..c0856df 100644 --- a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/helpers/PostGen.kt +++ b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/helpers/PostGen.kt @@ -5,9 +5,6 @@ import kotlin.streams.asSequence // Get balloons val balloon = listOf(" \uD83D\uDCAC ", " \uD83D\uDCAD ") -// choose a random balloon out of list -val randomBalloon = balloon.asSequence().shuffled().find { true } - // get randomized meow fun getMeow(): String { // source of characters to randomize @@ -118,6 +115,8 @@ fun getMeow(): String { ) // choose a random cat emote out of list val randomCat = catEmotes.asSequence().shuffled().find { true } + // choose a random balloon out of list + val randomBalloon = balloon.asSequence().shuffled().find { true } // if the neocat returns empty, don't use a balloon, else return cat and random balloon return if (randomCat == "") { @@ -203,6 +202,8 @@ fun getBeep(): String { ) val randomBot = botEmotes.asSequence().shuffled().find { true } + // choose a random balloon out of list + val randomBalloon = balloon.asSequence().shuffled().find { true } return if (randomBot == "") { "$bGen$eGen$pGen"