Skip to content

Commit

Permalink
Merge pull request #98 from eliezermarcano/master
Browse files Browse the repository at this point in the history
Update idle-optional.mdx
  • Loading branch information
leifermendez authored Apr 2, 2024
2 parents 16a88fe + 29ceb81 commit 2cd938e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/en/showcases/idle-optional.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ The inactivity of flows in our business logic can become a nuisance, that is why
Create a file named `idle-custom.ts` and paste the following code:

```ts {{ title: 'idle-custom.ts' }}
import { EVENTS, addKeyword } from '@bot-whatsapp/bot'
import { BotContext, TFlow } from '@bot-whatsapp/bot/dist/types';
import { EVENTS, addKeyword } from '@builderbot/bot'
import { BotContext, TFlow } from '@builderbot/bot/dist/types';

// Object to store timers for each user
const timers = {};
Expand Down Expand Up @@ -261,4 +261,4 @@ const main = async () => {
}

main()
```
```

0 comments on commit 2cd938e

Please sign in to comment.