From b6c7ece99552ee377a2ed55b5c9ef42718e0aa60 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 29 Apr 2021 15:09:45 +0600 Subject: [PATCH] small hotfix --- .../extensions/utils/extensions/TextCaptionBotCommandsParser.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/TextCaptionBotCommandsParser.kt b/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/TextCaptionBotCommandsParser.kt index 1b28ae2f9f..8fa69aadad 100644 --- a/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/TextCaptionBotCommandsParser.kt +++ b/tgbotapi.extensions.utils/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/utils/extensions/TextCaptionBotCommandsParser.kt @@ -24,6 +24,7 @@ fun List.parseCommandsWithParams( emptyArray() } currentArgs = "" + currentBotCommandSource = null } for (textSource in this) { if (textSource is BotCommandTextSource) {