From da84521433067352760d98d07c66bad6c6b99191 Mon Sep 17 00:00:00 2001 From: Rnbsov Date: Wed, 20 Mar 2024 16:32:41 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=8A=20Stop=20waiting=20for=20url=20aft?= =?UTF-8?q?er=20500ms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/conversations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conversations.ts b/src/conversations.ts index 9a5781c..f18fe53 100644 --- a/src/conversations.ts +++ b/src/conversations.ts @@ -102,7 +102,7 @@ export async function forwardPostLabels( const api = new OmnivoreApi(token) - const urlInput = await conversation.waitFor('message:entities:url') + const urlInput = await conversation.waitFor('message:entities:url', { maxMilliseconds: 500 }) let url = '' console.log(urlInput) if (urlInput.entities('text_link').length > 0) {