main #8

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

View file

@ -35,11 +35,4 @@ class Config {
val botToken: String = (prop.getProperty("botToken")) val botToken: String = (prop.getProperty("botToken"))
val instanceDomain: String = (prop.getProperty("instance")) val instanceDomain: String = (prop.getProperty("instance"))
val superSecret: String = (prop.getProperty("superSecret")) val superSecret: String = (prop.getProperty("superSecret"))
fun stringToWords(s: String) =
s
.trim()
.splitToSequence(", ")
.filter { it.isNotEmpty() } // or: .filter { it.isNotBlank() }
.toList()
} }