main #8

Closed
limepotato wants to merge 183 commits from main into blog-drafts
Showing only changes of commit 84fd85f768 - Show all commits

View file

@ -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"