migration onto 2.1.1

This commit is contained in:
2022-06-26 13:03:52 +06:00
parent 370fa45dba
commit 9cf8bd9f28
7 changed files with 15 additions and 14 deletions
FSMBot/src/main/kotlin
HelloBot/src/main/kotlin
KeyboardsBot/KeyboardsBotLib/src/commonMain/kotlin
RandomFileSenderBot/src/main/kotlin
ResenderBot/ResenderBotLib/src/commonMain/kotlin
SlotMachineDetectorBot/src/main/kotlin
gradle.properties

@ -17,9 +17,9 @@ suspend fun main(args: Array<String>) {
if (diceType == SlotMachineDiceAnimationType) {
val result = dice.calculateSlotMachineResult() ?: return@onDice
bot.reply(it, "${result.leftReel}|${result.centerReel}|${result.rightReel}")
reply(it, "${result.leftReel}|${result.centerReel}|${result.rightReel}")
} else {
bot.reply(it, "There is no slot machine dice in message")
reply(it, "There is no slot machine dice in message")
}
}
}.join()