Skip to content

Instantly share code, notes, and snippets.

@kinisoftware
Created September 16, 2019 17:35
Show Gist options
  • Select an option

  • Save kinisoftware/b7808637575852f26f5051bcb1deb5d3 to your computer and use it in GitHub Desktop.

Select an option

Save kinisoftware/b7808637575852f26f5051bcb1deb5d3 to your computer and use it in GitHub Desktop.
private fun getRandomOkSpeech(): String {
val randomOkSpeechcon = listOf("okey", "okey dokey", "okey makey")[Random.nextInt(2)]
return "<say-as interpret-as=\"interjection\">$randomOkSpeechcon</say-as>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment