Skip to content

Commit

Permalink
docs: 📝 Typing emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed May 11, 2022
1 parent 46f5d5d commit bf766e5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions apps/docs/docs/editor/settings.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Settings

## Typing emulation

By default, your typebot will emulate a certain typing speed. It is considered a good default as slow as a human typing speed and it's not too fast so that multiple bubble can be readable sequentially.

You can customize this typing speed in the settings:

<img
src="/img/settings/typing-emulation.png"
width="400"
alt="Typing emulation"
/>

The goal of a typebot is not to pretend that the bot is a real human. So we suggest not setting the typing speed too low.

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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

5 comments on commit bf766e5

@vercel
Copy link

@vercel vercel bot commented on bf766e5 May 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on bf766e5 May 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

app.typebot.io
builder-v2-git-main-typebot-io.vercel.app
builder-v2-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on bf766e5 May 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on bf766e5 May 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs-typebot-io.vercel.app
docs-git-main-typebot-io.vercel.app
docs.typebot.io

Please sign in to comment.