From de5391b1219be611bb45f259c52f38aa00949cf2 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 21 Sep 2022 18:15:19 +0600 Subject: [PATCH] add setup of sent message in expression worker --- .../inmo/plagubot/plugins/captcha/provider/CaptchaProvider.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/provider/CaptchaProvider.kt b/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/provider/CaptchaProvider.kt index badb056..b30ccdc 100644 --- a/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/provider/CaptchaProvider.kt +++ b/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/provider/CaptchaProvider.kt @@ -456,6 +456,8 @@ data class ExpressionCaptchaProvider( mention(user) regular(", $captchaText ") bold(callbackData.second) + }.also { + sentMessage = it } var leftAttempts = attempts