we dont need that
This commit is contained in:
parent
86e21e3b80
commit
aee2126d21
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