diff --git a/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/Plugin.kt b/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/Plugin.kt index 02ccfb9..b8a28ae 100644 --- a/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/Plugin.kt +++ b/src/main/kotlin/dev/inmo/plagubot/plugins/captcha/Plugin.kt @@ -103,7 +103,11 @@ class CaptchaBotPlugin : Plugin { ) } val settings = it.chat.settings() - settings.captchaProvider.apply { doAction(it.date, chat, newUsers) } + doInSubContext(stopOnCompletion = false) { + launch { + settings.captchaProvider.apply { doAction(it.date, chat, newUsers) } + } + } } if (adminsAPI != null) {