From 7e9c67a47c6e13c012caa6745ff91f49f8cac8d1 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Wed, 24 Jan 2024 12:27:50 +0100 Subject: [PATCH] :pencil: (settings) Update wait between messages instruction --- apps/docs/settings/overview.mdx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/apps/docs/settings/overview.mdx b/apps/docs/settings/overview.mdx index 4d5255212..1d0185bac 100644 --- a/apps/docs/settings/overview.mdx +++ b/apps/docs/settings/overview.mdx @@ -30,14 +30,7 @@ The goal of a typebot is not to pretend that the bot is a real human. So we sugg The `Disable on first message` allows you to disable the typing emulation on the first message. This is useful if you want to lower the first message display time since the site can take some time to load first. -The `Delay between messages` by default is 0 and you can increase it up to 5 seconds if you want to add a delay between **every** messages sent by the typebot. -Sometimes you want to pause the bot for a few seconds between one message and another, regardless of the typing speed. You can achieve this by adding a Code block with the following content: - -```js -return new Promise((res) => setTimeout(res, 3000)) -``` - -You can tweak `3000` (3s) to your liking. +The `Delay between messages` by default is 0 and you can increase it up to 5 seconds if you want to add a delay between **every** messages sent by the typebot. If you ever want to pause the bot just once. You can insert a [Wait block](../editor/blocks/logic/wait) between both messages. ## Security