mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2025-09-08 09:50:21 +00:00
migration onto 2.1.1
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user