main #8
1 changed files with 0 additions and 7 deletions
|
@ -35,11 +35,4 @@ class Config {
|
|||
val botToken: String = (prop.getProperty("botToken"))
|
||||
val instanceDomain: String = (prop.getProperty("instance"))
|
||||
val superSecret: String = (prop.getProperty("superSecret"))
|
||||
|
||||
fun stringToWords(s: String) =
|
||||
s
|
||||
.trim()
|
||||
.splitToSequence(", ")
|
||||
.filter { it.isNotEmpty() } // or: .filter { it.isNotBlank() }
|
||||
.toList()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue